Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes the relationship between CSS named colors and their specifications, plotting each color as a circle positioned by its `Specification` and `Keyword` fields, with the `RGB hex value` determining the circle’s color. The visualization is built using the Vega-Lite API, which registers Vega and Vega-Lite through the `vl` object, and uses the `vl.markCircle` method to encode the data. It loads a CSV file of named colors via `d3.csv`, applies a custom configuration for axis styling, and renders the chart as an SVG with tooltips provided by Vega-Tooltip.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed