🌍 Public
Viewing a saved revision (read-only)
d4343a75faa94e51a2d754d2ee382733
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.