🌍 Public
Viewing a saved revision (read-only)
943c7ac8414943e6a5b1cab51552138c
Fork of Pie Chart
This example displays the basic cost of Netflix across countries using a pie chart, alongside a scatterplot of Iris flower measurements with axes and color-coded species. The visualization uses a React setup with d3.v5, specifically employing `pie()`, `arc()`, `scaleOrdinal`, and `schemeCategory10` to generate the pie segments and legends from CSV data. Scatterplot points are drawn with `selectAll("circle")`, and axes are created via `axisBottom` and `axisLeft`. The CSV data is fetched from a GitHub gist, and rendering is done via SVG.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.