Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SCATTER PLOT 11703795

Public visualization

Viewing a saved revision (read-only)

011f478d95ef4845ac5f4c7811029b82

SCATTER PLOT 11703795

0 stars0🌍 Public
MMeghanaChowdaryVelaga@my.unt.edu
Last edited Apr 2, 2025
Created on Apr 2, 2025

This scatter plot displays the relationship between age and weight using a reusable function pattern. The visualization renders steelblue circles with 70% opacity on an SVG canvas, with axes labeled "Age" and "Weight." Built with D3 v7, the code defines a `scatterPlot` factory function that supports configurable width, height, data, and accessor methods. It uses `d3.scaleLinear` for both x and y scales, `d3.axisBottom` and `d3.axisLeft` for the axes, and loads data from a CSV file hosted on GitHub Gist via `d3.csv`.

AI-generated description