Skip to main content
100%

Activity6question3

✓ Published0🌍 Public
Nnikhithaaitha22@gmail.com
Last edited Oct 23, 2024
Created on Oct 22, 2024

This example visualizes a sales dataset as a scatter plot, plotting total sales on the x-axis against order numbers on the y-axis, with points colored by customer using `d3.scaleOrdinal` and `schemeTableau10`. A legend identifies each customer, and hover tooltips display product details and total sales. The chart loads CSV data from a GitHub repository via `d3.csv` and renders as SVG, using `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisBottom` and `d3.axisLeft` for the axes.

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