Skip to main content
Public

Share visualization

Loading preview…

ICE 7 : Task 4 (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 : Task 4 (Area Chart)

0
NNITIN0601
Last edited Mar 28, 2022
Created on Mar 28, 2022

This example visualizes Tesla sales by year using an area chart. The view shows a smoothed curve with a filled blue region beneath it, plotted over time on an SVG canvas. It loads CSV data from a GitHub gist and parses dates with `d3.timeParse`. The visualization uses D3 v5 scales (`scaleTime`, `scaleLinear`), axes (`axisLeft`, `axisBottom`), and generators (`area`, `line`) with `curveBasis` for smoothing. Gridlines and rotated axis labels clarify the quantitative and temporal ranges.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed