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

0
Ppremsaiv
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example shows car company sales from 2000 to 2015 as a single line chart, using d3.line to connect annual data points along a time-based x-axis and a linear y-axis. The SVG rendering includes styled axis ticks, grid lines, and labels for both axes, with the line path drawn in purple. Data is loaded as CSV from a GitHub gist, parsed with d3.csv, and scales are set with scaleTime and scaleLinear. Axis generators d3.axisBottom and d3.axisLeft create the framed plot, while a title and rotated axis label are added manually.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed