Skip to main content
100%

t4 scatterplot

✓ Published0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 25, 2024
Created on Apr 25, 2024
Forked from Hello VizHub

A scatterplot visualizes total sales by day, with each point colored by order status (Delivered, RTO, Returned). The chart includes axes, a title, and a legend. It loads CSV data from a GitHub-hosted file, using D3 v7 scales (`scaleLinear`, `scaleOrdinal`) to map day and total values to positions and statuses to colors. The code renders circles as SVG elements and appends axes via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes