Fork of ICE-7_Pie
✓ Published0🌍 Public
This visualization displays the basic cost of Amazon across countries, presenting the top 10 countries by inflation rate as a pie chart with an accompanying legend. The chart uses D3 v5 APIs including `pie`, `arc`, and `scaleOrdinal` with `schemeCategory10` to generate colored slices, while `csv` loads the data from a GitHub gist. The legend lists each country with its inflation rate in dollars, rendered as SVG elements. Interactive mouseover events log the inflation rate values to the console, and the chart is built within a React framework using D3’s selection and data join methods.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed