activity6_question6
✓ Published1🌍 Public
This example shows a scatter plot of t-shirt dataset records, mapping age to the x-axis and height to the y-axis, with circles sized by weight and colored by shirt size category. It loads CSV data from a GitHub repository using d3.csv, then renders SVG circles with d3.scaleLinear for both axes and d3.axisLeft and d3.axisBottom for tick marks. The visualization uses a hardcoded color scale for size categories and positions axis labels via SVG text elements.
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