Skip to main content
100%

Activity6_Question3

✓ Published0🌍 Public
UUday Vandanapu
Last edited Oct 22, 2024
Created on Oct 22, 2024

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 description

We are Displaying the Superstore dataset using Scatter plot.

MIT Licensed

Similar vizzes