Skip to main content
100%

Fork of Activity6_Task2_q2_3

✓ Published0🌍 Public
HHema Tummapala
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from Activity6_Task2

This stacked bar chart displays finance data over time, breaking down totals into Revenue, Expenses, and Profit segments. Each date shows three colored bars stacked vertically, with a red, blue, and green palette. The code uses d3.csv to load data from a GitHub-hosted Finance_data.csv file. It employs d3.stack() to structure the data, d3.scaleBand for the x-axis, d3.scaleLinear for the y-axis, and d3.axisBottom and d3.axisLeft to render the axes.

AI-generated description
MIT Licensed

Similar vizzes