Fork of ICE 7 Saranya
This example visualizes aggregated sales data as an interactive donut chart, using a pie layout to segment totals across categories. The visualization is rendered in SVG with D3.js v2 within a React framework, employing `d3.layout.pie` and `d3.svg.arc` to compute arc paths. Hovering over or clicking legend items provides additional context through SVG titles. The data originates from an ICE7.csv file, and the chart includes value labels placed via `arc.centroid`. Color encoding uses an ordinal scale with a pre-defined color range, and the entire plot is animated and wrapped in a custom `TransformChartData` aggregation function.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also [React Starter] https://gist.githubusercontent.com/MalempatiSaranya/3292ebf15c9fa38a5b2d34c4c1ccf253/raw/a61a397bf02c893e1d9e21663ac6d4d6ba04a6b9/ICE7.csv