Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Gas report

Public visualization

Viewing a saved revision (read-only)

10e92b953df54a829ac82f6bf7397fca

Gas report

0 stars0🌍 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.