🌍 Public
Viewing a saved revision (read-only)
2b4a4d25f2424525abeedfd76b8d6135
task 9 and 10 Q2
This visualization displays monthly sales data as an area chart, where hovering over a bar reveals a tooltip with the exact month and sales value. The chart uses d3.area() to draw the shaded region, d3.scaleBand() and d3.scaleLinear() for the axes, and SVG rectangles to capture mouse events. Data loads from a CSV file via d3.csv, and the tooltip appears with a transition. The visualization includes rotated x-axis labels and custom axis titles.
AI-generated description