Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Rust

[dependencies]
dataviz = "1"

Optional features:

FeatureAddsDefault
windowinteractive windows (fig.show, fig.show_live)on
pdfPDF outputoff
gpuGPU rasterizer (wgpu: Vulkan, Metal, DX12, OpenGL)off
regionsstates and provinces of every country (+0.8 MB)off
specfigures from JSON specs (plot::spec)off

Headless servers and WebAssembly: default-features = false.

dataviz = { version = "1", default-features = false, features = ["pdf"] }

No system libraries are needed (the font is built in; on Linux the window uses X11 or Wayland when present).

Python

pip install dataviz-rs

See Python.

Claude Code

/plugin marketplace add dataviz-rs/dataviz
/plugin install dataviz@dataviz

See Claude and MCP.