Skip to main content
100%

Assignment 7 Area chart

✓ Published0🌍 Public
AAshrith Kudidhi
Last edited Jul 3, 2022
Created on Jul 3, 2022

This area chart displays movie ticket rates over the past year, with month on the x-axis and rates on the y-axis. The chart uses D3 v5’s `scaleTime`, `scaleLinear`, `area`, and `curveBasis` to generate a smooth green filled region beneath the line. Data is loaded from a CSV file via `d3.csv`, and axes are rendered with `axisBottom` and `axisLeft`, including grid lines and custom labels. The SVG output includes a title and axis annotations, styled through external CSS.

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.
MIT Licensed

Similar vizzes