activity8_Task3
✓ Published0🌍 Public
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 descriptionWe are Displaying the Insurance dataset using Scatter plot.
MIT Licensed