Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

test_data

Public visualization

Viewing a saved revision (read-only)

ff375c7466404a14bad21098b993b45f

test_data

0 stars0🌍 Public
Jjjacobatandover
Last edited Jul 14, 2021
Created on Jul 14, 2021

This visualization uses a Vega-Lite API to render an interactive line chart of CO2 emissions over time, with three distinct types compared via colored lines. The chart encodes Year on the x-axis, emission amount on the y-axis, and type as color, with tooltips showing year values. Data from a CSV file is loaded via d3.csv, and the vega-lite-api library, combined with vega-tooltip for hover interactions, generates the SVG output. The visualization fills the entire browser window and uses custom axis styling.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.