Skip to main content
Public

Share visualization

Loading preview…

ICE 7 Area Chart

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

ICE 7 Area Chart

1
BBVNPK001
Last edited Mar 28, 2022
Created on Mar 28, 2022

This area chart displays the number of accidents in the USA from 2010 to 2020, with the year on the x-axis and accident counts on the y-axis. Using D3 v5, the visualization draws both a yellow smoothed line and a green filled area beneath it via the `line` and `area` generators with `curveBasis`. The SVG chart includes labeled axes, red gridlines, and parses CSV data from a GitHub gist. The code employs `scaleLinear`, `scaleTime`, `axisLeft`, `axisBottom`, and `extent` to map the data.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed