🌍 Public
Viewing a saved revision (read-only)
4aa64bf2ad2241da85f5e79cbb132955
ice-7-task2
This example presents a visual analysis of household expenses across seven categories over a year, using annual totals in a pie chart with percentage labels and a legend, alongside a line chart tracking monthly spending per category. The pie chart computes yearly sums from a CSV dataset, applies a Tableau color scheme, and displays labels positioned along an inner arc. The line chart uses a point scale for months, a linear scale for expense values, and renders lines for each category via `d3.line()`, with axes and labels added through `d3.axisBottom` and `d3.axisLeft`. Both charts are rendered as SVG elements.
AI-generated description