Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 2 Assignment 9

Public visualization

Viewing a saved revision (read-only)

dde10a96292947a3a22a4d755684ffd9

Task 2 Assignment 9

0 stars0🌍 Public
Ssanavenkatasurendrareddy@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

This example shows cinema sales over time as a red filled area chart, using D3 v7 to render an SVG visualization. It loads data from an inline array with dates parsed via `timeParse`, then applies `scaleTime` and `scaleLinear` to map the year and sales values. The area is generated with the `area()` generator using a `curveBasis` interpolation. Axes are drawn with `axisBottom` and `axisLeft`, with tick lines extending across the chart to create a grid-like effect.

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.