Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template 3

Public visualization

Viewing a saved revision (read-only)

112a024d8835421081a2e58fd14ce9d3

Fork of Vega-Lite API Template 3

0 stars0🌍 Public
Iinar-vision
Last edited Sep 1, 2022
Created on Sep 1, 2022

This visualization uses a Vega-Lite API specification to render a scatter plot of automobile data from a CSV file. Each circle represents a vehicle, positioned by origin and horsepower, with color encoding weight and size encoding miles per gallon (mpg), with tooltips showing the car name. The code builds the chart declaratively using the `vega-lite-api` library, registering it with vega and vega-lite, and loads data via d3.csv. Custom configuration adjusts font sizes and axis styling for readability.

AI-generated description

A visualization constructed using the vega-lite-api.