Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published1🌍 Public
Ccaineosborne
Last edited Jan 12, 2022
Created on Jan 11, 2022

This circular scatterplot visualizes the relationship between a car’s origin and its horsepower, using data from a CSV file of automobile specifications. Each semi-transparent dot marks a single vehicle, with the transparency building up in dense areas to reveal clusters. The visualization is generated programmatically through the Vega-Lite API, which translates the declarative spec into Vega for rendering. The `vl.markCircle` method defines the marks, while `.encode` maps the categorical `origin` field to the x-axis and the quantitative `horsepower` field to the y-axis. A toolkit is configured for enhanced axis styling and readability.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes