🌍 Public
Viewing a saved revision (read-only)
fad5cd12c10048228a95048f5f2d3c4b
Man SDV Question 3
This example shows a scatter plot of custom dataset points, with each dot colored by category using a categorical color scale. The visualization loads data from a remote CSV file and renders it with D3 v7, using `scaleLinear` for axes and `scaleOrdinal` with `schemeCategory10` for colors. It includes a reusable axis module and a legend component that maps shapes to categories using `d3.symbol`. The plot updates responsively to the window size.
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.