Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bar graph exsample

Public visualization

Viewing a saved revision (read-only)

60cf3dc1cc2b47e4b0f1ad0c89b6f050

bar graph exsample

0 stars0🌍 Public
CChase Hall
Last edited Jul 13, 2022
Created on Jun 29, 2022

This example combines a bar graph and a line graph to compare Air Quality Index (AQI) values across different pollutants. The bar chart displays AQI values with tooltips, while the line chart overlays the same data points, both sharing the x-axis for AQI and y-axis for pollutant names. The visualization uses vega-lite-api, registering vega and vega-lite, and loads data from a CSV file via d3.csv. Custom axis and label styling is applied through a config object to improve readability.

AI-generated description

A visualization constructed using the vega-lite-api.