Skip to main content
100%

activity8_Task3

✓ Published0🌍 Public
Ssaitejauppu0206@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity8_Task3

This example shows an insurance dataset as a scatter plot of age against BMI, with each point colored by the policyholder’s region. It uses D3 v6 to load the CSV via `d3.csv`, maps rows with a custom parse function, and renders SVG circles positioned by `scaleLinear` scales for both axes. The color encoding is applied through `d3.scaleOrdinal` with `d3.schemeCategory10`, and axes are drawn using `axisLeft` and `axisBottom`. Data comes from a public GitHub-hosted insurance CSV file.

AI-generated description

We are Displaying the Insurance dataset using Scatter plot.

MIT Licensed

Similar vizzes