🌍 Public
Viewing a saved revision (read-only)
d0e7657fcd7a451987eccaf8da2196f1
Fork of Vega-Lite API Template
This example demonstrates how to build interactive visualizations using the Vega-Lite API within a D3.js framework. It displays a line chart of automobile data from a CSV file, plotting horsepower over time with a viridis color scale and tooltips showing vehicle names. The visualization leverages the vega-lite-api library to construct the chart declaratively, while D3’s csv function loads the data. Custom configuration adjusts axis styling and font sizes, and the final SVG output is rendered across the full viewport with auto-sizing.
AI-generated descriptionA visualization constructed using the vega-lite-api.