Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_Task2_q2_3

Public visualization

Viewing a saved revision (read-only)

7a4a6c58312b45dfac4c3e9c89a34ab9

Fork of Activity6_Task2_q2_3

0 stars0🌍 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