Skip to main content
Public

Share visualization

Loading preview…

ICE-7 Line 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 Line Chart

35
CCHANDU BHARGAVI
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from D3 Starter

This chart displays the cost of sales from 2000 to 2013, using a single red line to show the trend over time. It loads CSV data from a GitHub Gist and renders the visualization as an SVG. The code leverages D3 v5’s `scaleTime`, `scaleLinear`, `line`, `axisLeft`, and `axisBottom` APIs to build the chart, with labelled axes and a title. The line path is generated using `d3.line` and the data is parsed so that years become Date objects.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed