Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
TTakuya Kitazawa
Last edited Jan 12, 2021
Created on Jan 12, 2021

This example visualizes automotive data from a CSV file, plotting horsepower and weight for each car as circles, with color indicating origin and size encoding miles per gallon. It uses the Vega-Lite API to build the chart declaratively, with D3’s `csv` function for data loading. The visualization leverages vega-lite-api’s `markCircle` and `encode` methods, and it renders SVG output through Vega, vega-lite, and vega-tooltip for interactive tooltips.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes