Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area_Chart_Ass-II

Public visualization

Viewing a saved revision (read-only)

8715bcc4632f4fe98b185cdb7b75cc28

Area_Chart_Ass-II

0 stars0🌍 Public
Mmudunurirahulvarma98@gmail.com
Last edited Apr 12, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This area chart displays the number of convicts in Andhra Pradesh, India, from 2001 to 2012, based on data loaded from a GitHub-hosted CSV file. It uses D3 v5 with SVG rendering, employing `d3.scaleTime` and `d3.scaleLinear` for the axes, `d3.area` with a curve basis for the filled path, and `d3.axisBottom` and `d3.axisLeft` for labeled tick marks. The code also applies custom CSS classes for the title and axis labels, and formats the y-axis tick values using `d3.format`.

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.