Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity 6_Task 3 Q3

Public visualization

Activity 6_Task 3 Q3

0 stars0๐ŸŒ Public
Aakankshareddygorla@my.unt.edu
Last edited Oct 21, 2024
Created on Oct 21, 2024

This example shows a scatter plot of age versus insurance charges, with points shaped by sex and a legend for gender. The plot uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to generate shapes, along with custom axis and legend modules. Data is loaded as CSV from a GitHub gist and parsed with `csvParse`. The SVG chart resizes to the viewport, and the axes and legend are drawn using D3's `axisLeft` and `axisBottom` helpers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed