Activity 6_Question6
✓ Published0🌍 Public
This example shows an SVG scatter plot of eight data points, each colored by category according to the `d3.scaleOrdinal` with `d3.schemeCategory10`. The chart maps `valueX` to the horizontal axis and `valueY` to the vertical axis using `d3.scaleLinear` ranges and `d3.extent` for domain calculation. Axes are rendered with `d3.axisBottom` and `d3.axisLeft`, and data is loaded asynchronously from `data.csv` via `d3.csv`. The visualization demonstrates basic D3 v7 data binding, margin conventions, and stylized axis labels.
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