Skip to main content
100%

Activity6_Task3

✓ Published1🌍 Public
Mmanishmanda@my.unt.edu
Last edited Oct 20, 2024
Created on Oct 19, 2024

This visualization shows the relationship between age and insurance charges, with points shaped according to sex. The scatter plot uses D3 v7’s `scaleLinear` for both axes and `scaleOrdinal` with `symbolsFill` for categorical shape encoding. A custom legend displays the mapping between shapes and sex using D3’s `symbol` generator. Data is loaded asynchronously from a remote CSV file and parsed with `d3.csvParse`, with axes and labels added via the `axisLeft` and `axisBottom` helpers.

AI-generated description
MIT Licensed

Similar vizzes