Skip to main content
100%

Dataviz 2020_Ep18 - 11. Vega Lite API template

✓ Published2🌍 Public
MMinwoo Pak
Last edited Jun 9, 2021
Created on Jun 8, 2021

This example demonstrates a scatter plot visualization of auto-mpg data, showing relationships between vehicle weight, horsepower, and miles per gallon. The visualization uses colored circles sized by mpg values, with tooltips displaying car model names. It is built using the Vega Lite API, which registers with d3.v6 for data loading, and renders as SVG. The code retrieves data from a CSV file and applies custom configuration for axis styling and typography.

AI-generated description

A template for Vega Lite API; a high level api for creating visualizations

vegalite doc: https://vega.github.io/vega-lite/docs/ vega-lite-api ref: https://vega.github.io/vega-lite-api/api/

MIT Licensed

Similar vizzes