Activity 7 Scatter Plot
✓ Published0🌍 Public
This scatter plot visualization displays the classic IRIS dataset, though the code provided actually implements a pie chart of fruit costs. The visualization uses D3.js v6.7.0, specifically the `pie`, `arc`, `scaleOrdinal`, and `schemeCategory10` functions to generate a pie chart with color-coded slices and a legend. The data is loaded as CSV from a remote gist URL, aggregated by fruit name, and rendered as an SVG with a viewBox for responsive scaling. The chart includes styled text using the 'Times New Roman' font and custom CSS for layout.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed