🌍 Public
Viewing a saved revision (read-only)
14495c3e962e49e098c2987e9408dbd6
Activity Question 3B
This scatter plot displays 50 randomly generated data points, each colored red or blue to represent group A or B. The visualization uses D3 v7 to render an SVG chart with linear scales and axes. The code generates random x and y values between 0 and 100, then plots circles with a radius of 5 pixels using d3.axisBottom and d3.axisLeft for the coordinate system.
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.