Skip to main content
100%

Gas report

✓ Published0🌍 Public
Rrohame
Last edited Sep 18, 2019
Created on Sep 8, 2019

This visualization presents a layered line chart comparing gas consumption amounts and fuel efficiency (mpg) over time. The data is loaded from a GitHub-hosted CSV file using `d3.csv`. The chart uses two overlaid line marks with independent y-axes, created via the Vega-Lite API’s `vl.layer` and `resolve` functions. Both layers encode date on the x-axis and tooltips on the data fields. The visualization is rendered with Vega-Lite, using a custom config for axis styling and colors.

AI-generated description

A visualization reflecting my report for gas. Dataset is here.

MIT Licensed

Similar vizzes