🌍 Public
Viewing a saved revision (read-only)
46c16df4dc364dcb8140bfbebc5f5c1c
Analysis of cost of Italian Lessons
This example visualizes the cumulative cost of Italian lessons over time, displaying a histogram of monthly spending with a total spend summary. It uses React to render an SVG graphic, with d3.csv for data loading, d3.bin and d3.timeMonths to create monthly bins, and d3.scaleTime and d3.scaleLinear for axes. The data comes from a CSV file containing purchase credits, with prices and dates parsed and aggregated using d3.sum.
AI-generated descriptionReact Starter code.