Plotto

100% Elixir plotting library for interactive SVG charts and anti-aliased PNG export.

v0.8.0 Elixir MIT

Plotto is a pure-Elixir charting library with zero NIFs or external binaries.

  • Interactive SVG: attach arbitrary HTML/SVG attributes (such as phx-click or data-*) directly to bars and data points for Phoenix LiveView integration.
  • Built-in PNG rasterizer: render the exact same chart to an anti-aliased PNG binary via Plotto.to_png/1 with full Unicode text support for emails, Slack, or Telegram.
  • Chart types: bar charts, line charts, gauge charts, legends, customizable grid guidelines, and automatic zero baselines.

Installation

def deps do
  [
    {:plotto, "~> 0.7"}
  ]
end