Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Mmarkbayley
Last edited Jun 20, 2021
Created on Jun 20, 2021

This example demonstrates an interactive scatterplot visualization built with the Vega-Lite API, plotting work class and gender attributes from a CSV dataset loaded via d3.csv. The points are rendered with low opacity and large size to show density distributions, with tooltips displaying gender values on hover. The code registers Vega-Lite with the vega and vegaLite libraries, configures an SVG renderer with custom axis styling, and uses the vega-tooltip Handler for interactive feedback. The visualization fills the window and adapts its dimensions dynamically.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes