🌍 Public
Viewing a saved revision (read-only)
f1cfb417b3914bf7aa83cb03792f268f
Fork of Vega-Lite API Template
This example shows the distribution of CSS named colors by plotting each color’s keyword against its RGB hex value as a computed field, using a semi-transparent area mark with tooltips for individual names. It loads color data from a CSV via d3.csv, then renders the visualization through the Vega-Lite API, which registers Vega and Vega-Lite instances and configures an SVG view with a custom tooltip handler. The chart auto-fits to the window size and applies a dark themed configuration for labels and axes.
AI-generated descriptionA visualization constructed using the vega-lite-api.