Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between two scores from a psychology dataset, plotting each data point as a steelblue circle. The x-axis represents Score1 and the y-axis represents Score2. The visualization loads data from a remote CSV file using d3.csv and creates linear scales with d3.scaleLinear to map data values to screen coordinates. D3 axes are generated for both dimensions, and the chart includes a title and axis labels. The code uses D3 v6 to select SVG elements and bind data for rendering.
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