Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment2_Q2_AreaChart_Harini

Public visualization

Viewing a saved revision (read-only)

af5156a9f23a4ad8a649b52bf3972d97

Assignment2_Q2_AreaChart_Harini

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

This area chart displays the share of GDP contributed by U.S. school revenue sources from 1890 to 2010, stacking Local, State, and Federal components using a d3.stack() layout. The visualization uses d3.scaleTime and d3.scaleLinear for axes, d3.area() for the stacked layers, and d3.schemeCategory10 for color encoding. Hovering over any layer reveals a tooltip with year, individual source percentages, and total revenue. Data comes from a remote CSV file, rendered as SVG with D3 v7.

AI-generated description