Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task3_3

Public visualization

Activity6_task3_3

0 stars0🌍 Public
Vvemurisuchitha@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This scatter plot visualizes the relationship between age and weight from a synthetic health dataset. The visualization encodes each data point as a circle, with position determined by age on the x-axis and weight on the y-axis. The chart uses d3.scaleLinear for both axes and d3.axisBottom/axisLeft to render tick marks. The code colors points based on gender using d3.scaleOrdinal and includes a shapeLegend function that displays the color mapping. The data is loaded via d3.csv from a GitHub-hosted CSV file and rendered as SVG elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed