🌍 Public
Viewing a saved revision (read-only)
6e848711f8ad4be8a34d9b82f6e4a383
Activity6_Question3
This scatter plot visualizes the Superstore dataset, showing the relationship between Quantity and Profit, with points colored by Order Priority (Critical, Medium, High, and default categories). It uses d3.csv to load the data, d3.scaleLinear for both axes, d3.axisLeft and d3.axisBottom for tick marks, and d3.selectAll with .join to render SVG circles. The plot is rendered in an SVG element that fills the browser window, with axes labeled "Profit" and "Quantity" via appended text elements. Data is sourced from a GitHub-hosted leaf.csv file.
AI-generated descriptionWe are Displaying the Superstore dataset using Scatter plot.