Skip to content
CAI
Software that uses CAICheck a score

pnezis/tucan

71.9

Strong · 15 November 2026

11.9k

lines of production code

Elixir

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add new chart themes: dark, excel, ggplot2, and more

Users can now apply additional pre-configured chart themes to their visualizations. This update introduces new theme definitions for dark, excel, ggplot2, five\_thirty\_eight, google\_charts, latimes, power\_bi, quartz, urban\_institute, and vox, sourced from the Vega themes library. These themes provide distinct visual styles, including specific color palettes, font settings, and layout configurations, allowing users to quickly adopt professional or branded looks for their charts without manual customization.

themes · high confidence

Initial release of Tucan plotting library

This change introduces Tucan, a high-level Elixir plotting library built on top of VegaLite. It provides a clean, consistent API for creating various plot types (such as bar, line, scatter, and density plots) with features like grouping, faceting, and theme customization. The library includes automatic data type inference for temporal columns and supports passing Nx tensors directly as data sources.

lib · high confidence

New Tucan modules for axes, geometry, polar plots, and data handling

This release introduces several new modules to the Tucan library. The new \Tucan.Axes\ module provides helper functions for configuring plot axes, including setting titles, colors, offsets, orientations, and label visibility. \Tucan.Geometry\ adds an API for drawing geometric shapes like circles, ellipses, and polylines that can be overlaid on plots. \Tucan.Polar\ introduces experimental support for polar coordinate plots, including line, scatter, area, radar, bar, histogram, windrose, and heatmap variants, along with a dedicated grid module. \Tucan.Data\ enables automatic inference of column types from input data, supporting temporal, time, quantitative, and nominal types. Additionally, \Tucan.Finance\ provides specialized financial plots like candlestick charts, and \Tucan.Image\ allows displaying Nx tensors as images via \imshow/2\. The \Tucan.Layers\ module offers utilities for prepending and appending layers to plots, and \Tucan.Legend\ provides helpers for configuring legend titles, orientations, and visibility.

lib/tucan · high confidence

New time series plotting guide added

A new tutorial notebook, \time\_series\_plots\_in\_tucan.livemd\, has been added to the documentation. It demonstrates how to create various time series visualizations using Tucan, including scatter plots, strip plots, boxplots, and faceted views, by leveraging the \:weather\ dataset and encoding options like temporal types, color, and size.

notebooks · high confidence

Behavioural changes

3 commits (0 fixes) modifying assets

A change to existing behaviour in assets — 3 commits, 3 files: “add \background\_image/2\ helper”; “update README”; “add some docs for Tucan.imshow/2”.

assets · medium confidence · unverified

Automated theme loading and documentation generation

The library now automatically discovers and loads theme definitions from .exs files in the themes directory, validating that each theme contains required keys (:name and :theme) and rejecting invalid configurations with warnings. Additionally, it generates documentation for each theme by evaluating a VegaLite example with the theme applied, providing users with immediate visual previews of how each theme affects chart rendering.

lib/tucan/themes · high confidence

Extract polar grid rendering to a dedicated module

The polar plot grid logic has been extracted into a new \Tucan.Polar.Grid\ module, which now handles the configuration and rendering of grid lines, circles, and labels. This change introduces support for angle labels in polar plots, allowing users to display labels in degrees, compass points, or custom lists, and ensures that grid labels are drawn above data layers to maintain visibility. The grid is rendered as layers in cartesian coordinates, with configurable options for max radius, tick marks, direction, and opacity.

lib/tucan/polar · high confidence

Test coverage

Added comprehensive test coverage for Tucan modules; Added tests for theme helper functions; Comprehensive test suite for Tucan plotting library.

Dependencies

Tucan v0.6.0 release with dependency updates and documentation enhancements

This release updates the project version to 0.6.0 and bumps key dependencies, including nx to 1.0.0, ex\_doc to 0.40.4, and vega\_lite to 0.1.11. It also introduces dev dependencies like fancy\_fences and doctor, and significantly enhances the documentation setup by adding module grouping, guides, and inline Vega-Lite plot rendering in the generated docs.

(dependencies) · high confidence

Housekeeping

Add Credo and Doctor linting configurations

The project now includes configuration files for the Credo static analysis tool (.credo.exs) and the Doctor documentation coverage tool (.doctor.exs). These files enforce code quality standards, such as consistency, readability, and refactoring checks, and require 100% documentation and spec coverage for modules, respectively. This change supports the developer workflow by enabling automated linting and documentation checks via the Makefile.

(repo-wide) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 72 → 72 (-0.3)
  • Rubric changed (rubric-2026.11.1 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 99 → 98 (-0.7)
  • Architecture 100 → 100 (+0.0)
  • Maturity 54 → 54 (+0.0)
  • Readiness 79 → 79 (+0.1)
  • Security 97 → 95 (-2.1)

Resolved (1)

  • Outdated: nimble_options

New (7)

  • Edited copy of a member (12 corresponding lines) (lib/tucan/interactive.ex)
  • Edited copy of a member (16 corresponding lines) (lib/tucan/geo.ex)
  • Edited copy of a member (16 corresponding lines) (lib/tucan/geometry.ex)
  • Edited copy of a member (2 corresponding lines) (lib/tucan/polar.ex)
  • Edited copy of a member (22 corresponding lines) (lib/tucan.ex)
  • Edited copy of a member (7 corresponding lines) (lib/tucan.ex)
  • Edited copy of a member (9 corresponding lines) (lib/tucan.ex)

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • (root) — 1 commit

Notable commits

  • change: Bump nimble_options from 1.1.1 to 1.2.0

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

pnezis/tucan was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit f602d8af3924a1465b7b69e474c4cfeff292095d — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.73+preprod-52de90b74216.