Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question3

Public visualization

Viewing a saved revision (read-only)

6e848711f8ad4be8a34d9b82f6e4a383

Activity6_Question3

0 stars0🌍 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.