🌍 Public
Viewing a saved revision (read-only)
7e5a70f2d740483482bb345f68c5dbb2
3questionactivity6
This scatter plot visualizes the Iris dataset, displaying the relationship between 'Number of Sales' on the x-axis and 'Book Price' on the y-axis, with points colored by book type (Fantasy, Science, and a default). The visualization uses the D3 v6 library, loading the data via `d3.csv` and creating the plot with `scaleLinear`, `axisLeft`, and `axisBottom`. The plot is rendered as an SVG, with circles positioned according to the scaled data values and colored based on the book category. The example is set up to use the full width and height of the browser window.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.