Skip to content
CAI
Software that uses CAICheck a score

livebook-dev/vega_lite

59.9

Adequate · 15 November 2026

1.3k

lines of production code

Elixir

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is an Elixir library that provides bindings for the Vega-Lite visualization specification. It enables developers to construct declarative graphics specifications through a pipeline-based API, supporting data initialization from values, URLs, or Table.Reader protocols. The library handles the translation of Elixir data structures into the JSON format required by Vega-Lite, including automatic normalization of option keys and type inference.

Features

Initial release of Vega-Lite Elixir bindings

This change introduces the core \VegaLite\ module, providing a pipeline-based API for building declarative Vega-Lite graphics specifications in Elixir. Users can now initialize specs with \VegaLite.new/1\, parse existing JSON definitions via \VegaLite.from\_json/1\ (requiring the \Jason\ library), and construct visualizations using functions like \data\_from\_values/3\, \mark/2\, and \encode\_field/4\. The implementation automatically normalizes Elixir-style snake\_case options into the camelCase format required by the Vega-Lite specification.

lib · high confidence

Behavioural changes

Introduces data shorthand API and deprecates legacy export/viewer modules

The library adds a new \VegaLite.Data\ module that provides a \chart/3\ and \chart/4\ shorthand for creating visualizations directly from data implementing the \Table.Reader\ protocol, including automatic type inference for columns. Simultaneously, the existing \VegaLite.Export\ and \VegaLite.Viewer\ modules are marked as deprecated in favor of the external \:vega\_lite\_convert\ package, with their functions (such as \save!/3\, \to\_json/1\, and \show/1\) now emitting deprecation warnings to guide users toward the new conversion-based workflow.

_lib/vega\lite · high confidence

Test coverage

Added comprehensive test coverage for VegaLite data specification functions; Added tests for the Data module shorthand API.

Dependencies

Initial release of VegaLite v0.1.11 with documentation and dependency setup

This entry marks the initial release of the VegaLite library (v0.1.11), establishing the core Elixir bindings to Vega-Lite. The project now depends on \table\ (\~\> 0.1.0) for data handling and \jason\ (\~\> 1.2) for JSON processing (dev/test only). It raises the minimum supported Elixir version to \~\> 1.12 and configures \ex\_doc\ (\~\> 0.24) for generating documentation, which is now included in the package metadata along with Apache-2.0 licensing and GitHub link information.

(dependencies) · 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 62 → 60 (-2.4)
  • Rubric changed (rubric-2026.11.1 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 97 → 95 (-2.1)
  • Architecture 69 → 69 (+0.0)
  • Maturity 47 → 43 (-4.6)
  • Readiness 69 → 69 (+0.0)
  • Security 98 → 97 (-1.3)

New (2)

  • Edited copy of a member (12 corresponding lines) (lib/vega_lite.ex)
  • Edited copy of a member (20 corresponding lines) (lib/vega_lite.ex)

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

Survey your own repository

livebook-dev/vega_lite 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 3d7a641387687ba101d43d149960e92539d44485 — 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.