Skip to main content
100%

Visual Editor Demo

✓ Published2🌍 Public
CCurran Kelleher
Last edited Oct 9, 2025
Created on Aug 8, 2025
Forked from Circles with D3

This demo shows how a visual editor could work, using sliders and widgets to tweak config parameters that control a scatter plot of the Iris dataset. The visualization renders sepal length against sepal width, with points colored by species from a configurable color scale. The code uses d3-rosetta’s `unidirectionalDataFlow` and `createStateField` to manage state, along with D3’s `scaleLinear`, `extent`, and `csv` for data loading and scaling. It also listens for `postMessage` events to update the config dynamically.

AI-generated description

This is a PoC for some ideas around creating a "Visual Editor", with widgets like sliders and color pickers for tweaking config parameters.

See also:

https://github.com/vizhub-core/vzcode/issues/955

MIT Licensed

Similar vizzes