A browser-based visualization editor and interactive demo of OpenChart. Import your data, prepare it, design a chart, table or map, and download the result. The GitHub Pages demo runs the complete editor locally in your browser, with no account or backend.
Open the demo · Authoring guide · Changelog · OpenChart library
- Explore eight sample documents or import CSV, TSV, OpenChart JSON and Studio project backups.
- Search public datasets on the new-chart screen and have the assistant shape one into a chart, using an OpenData account and your own model key.
- Edit values and field types, filter rows, calculate explicit grouped summaries, and replace a dataset while retaining its design.
- Compose bars, lines, areas, scatterplots, lollipops, intervals, histograms and tables; edit axes, colors, labels, facets and annotations.
- Configure table columns, inline visuals, search and phone layouts; inspect map joins, palettes and zoom.
- Inspect exact observations, compare values, preview Phone, Tablet and Desktop widths, and use chart suggestions and the Publish step's checks.
- Undo and redo named edits, keep charts in your browser library, and download project backups, JSON, SVG, PNG and CSV.
The editor has three steps, Data, Visualize and Publish. Each chart edit runs as a validated operation. The Undo and Redo controls name the edit, for example “Undo: change chart type to Lines.” If an imported spec falls outside the editor's chart types, Custom chart appears in Chart type and Refine. The chart still draws, and Annotate and Layout remain available. Authoring guide
OpenStudio parses CSV, TSV and JSON files locally and keeps your chart library in this browser's IndexedDB (openstudio) for the current profile and origin. On the first save, OpenStudio requests persistent storage (navigator.storage.persist()) so the browser is less likely to evict saved charts, though private browsing, clearing site data or switching browsers or hosts can still remove or hide the library. If IndexedDB cannot open, OpenStudio falls back to in-memory storage and warns that charts are not being kept.
Use Back up all on the library to download a .zip archive of every non-deleted chart (in several parts, -part-2.zip and on, when the library is over 500 charts or 100 MB) (.studio.json for readable charts and .raw.json for damaged or newer ones), and Import projects to restore .studio.json, .json and backup .zip files as new charts (up to 500 files and 100 MB per zip, the same for loose files together, and 20 MB per file). Use Download project to keep a single chart's source data, recipe, visualization and published-data policy in a version 2 .studio.json file. OpenStudio upgrades version 1 projects when it opens them. A damaged chart's library row offers Download raw file to recover its original text.
One tab owns an open chart at a time; opening the same chart in a second tab shows it read-only until you choose Take over or close the first tab, and open library tabs refresh when another tab saves. Hiding a tab flushes pending edits, but closing a tab mid-save can lose the last edit.
Publish shows which columns and prepared rows the CSV download contains. For example, it can say “What leaves with the chart: the Year and Rate columns, 10 rows. The Note column stays in this project.”
Plain CSV/TSV/JSON imports accept up to 5 MB and 20,000 rows. Studio project backups accept 20 MB. There are no cloud projects, accounts, collaborative sessions, public share links or publishing APIs. You can publish downloaded artifacts through your own tools.
Run bunx @opendata-ai/openstudio local to save charts in ~/OpenStudio as files.
See local mode for installation, Docker and shared-machine access.
Install Bun 1.4.2 and Node.js 24, then run:
bun install --frozen-lockfile
bun run dev # http://127.0.0.1:6007/The interface is React with React Aria Components primitives in apps/web/src/ui, styled with Tailwind v4. apps/web/src/styles/tokens.css holds every design value; utilities in the TSX come first, then @layer components in apps/web/src/styles/app.css, then a style prop only for runtime values. DESIGN.md has the rules, and #/specimen (for example http://127.0.0.1:6007/#/specimen) shows every primitive in its states.
OpenStudio consumes pinned public OpenChart packages. It builds independently; an OpenChart checkout or library build is not required.
To add an edit, define it in its operation area under packages/core/src/operations/ and test its undo label. To evaluate a sequence, add a project fixture and a JSON case, then run bun run test -- evaluation. Adding an operation and an evaluation case
bun run lint
bun run typecheck
bun run test
bun run build # apps/web/dist/
bun run preview # http://127.0.0.1:6008/For the production browser suite:
bunx playwright install chromium
STUDIO_TEST_BASE_PATH=/openstudio/ bun run test:e2e
STUDIO_TEST_PORT=6403 bunx playwright test # another port, for a parallel runOn Linux CI, install browsers with bunx playwright install --with-deps chromium. The suite builds the static artifact and serves it, beneath /openstudio/ when STUDIO_TEST_BASE_PATH is set, in one Playwright project, studio-desktop. Port 6008 must be free unless STUDIO_TEST_PORT names another. Browser reports and traces are written to ignored playwright-report/ and test-results/ directories.
The repository's CI and Pages workflow checks pull requests and pushes to main. It deploys the tested apps/web/dist/ artifact after all checks pass on main.
- In repository Settings → Pages → Build and deployment, select GitHub Actions as the source.
- Allow the
github-pagesenvironment to deploy frommain; retain any desired reviewer protection. - Push or merge to
main, or manually run CI and Pages onmainfrom the Actions tab. - Open the URL shown by the deployment job: tryopendata.github.io/openstudio/.
The deploy job uses GitHub's built-in token and OIDC. No application secrets, API credentials or backend deployment are needed. See GitHub's custom workflow documentation for repository and environment setup.
Vite keeps base: './': scripts, styles and the bundled font use relative URLs. Preserve the trailing slash for nested deployments. To use another static host, serve the whole apps/web/dist/ directory over HTTPS, cache hashed assets immutably and revalidate HTML. Development, preview and QA servers are local tools. To roll back the demo, revert the affected commit on main and let the workflow rebuild and deploy it.
Application code is licensed under Apache-2.0. The bundled fonts are licensed under the SIL Open Font License 1.1: Inter, Schibsted Grotesk, Newsreader, IBM Plex Mono and eleven chart fonts listed in NOTICE; those licenses are also included in the deployed site. See NOTICE for attribution.