Skip to main content
Public

Share visualization

Loading preview…

Visual Editor Demo

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Visual Editor Demo

2
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

Comments

Sign in to join the discussion.

MIT Licensed