Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

ad24d6a13506467fb81a9a519bb81872

Activity 7 Scatter Plot

0 stars0🌍 Public
JJean
Last edited Nov 3, 2024
Created on Nov 3, 2024

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 description

We are Displaying the IRIS dataset using Scatter plot.