Skip to main content
Public

Share visualization

Loading preview…

ICE7 Task3 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

ICE7 Task3 Line Chart

0
Ddineshtadepalli12
Last edited Mar 29, 2022
Created on Mar 29, 2022
Forked from ICE-7 Line chart

This example shows the annual GDP of a country in billions of dollars over time, with the x-axis mapping years and the y-axis mapping GDP values. The visualization uses a line chart rendered as an SVG, where the data is loaded from a CSV file hosted in a GitHub Gist. The code builds scales with `d3.scaleTime` and `d3.scaleLinear`, generates axes using `d3.axisBottom` and `d3.axisLeft`, and draws the line with `d3.line`. The chart includes axis labels, gridlines via tick sizes, and a blue stroke for the line path.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed