Activity6question3
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed