Skip to main content
100%

Line Chart with Two Lines

✓ Published0🌍 Public
CCindyJonesHulfachor
Last edited May 9, 2015
Created on May 9, 2015

This line chart displays annual average U.S. prices for regular gasoline and diesel from 1995 to 2014, with the two series overlaid to compare their trends. It shows that both fuels follow a similar upward trajectory with peaks around 2012–2013 before a slight decline, and that diesel prices generally exceed regular gas prices. The visualization uses D3.js v3 with SVG rendering, employing d3.svg.line and d3.time.scale for the x-axis, while loading the two CSV datasets and merging them to set scale domains. The data comes from the U.S. Energy Information Administration.

AI-generated description

Similar vizzes