Skip to main content
Public

Share visualization

Loading preview…

Line chart ice 7

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Line chart ice 7

2
SSreedevi Itta
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from Pie chart ice 7

This chart displays the average fuel efficiency, measured in miles per gallon, for vehicles across different model years, spanning from 1970 to 1982. The data is aggregated by year, with each point representing the mean MPG for that year, and the line connects these points to show the overall trend. Built using D3 v7, the visualization uses `csv` for data loading, `rollup` and `mean` for aggregation, and `scaleLinear`, `axisBottom`, and `axisLeft` for axes and gridlines. The `line` generator draws the path, while `join` appends circles for each data point. The data comes from a gist CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed