Skip to main content
100%

Activity6_Task3.3

✓ Published0🌍 Public
Ssumanthnaidu213@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024

This scatter plot displays the relationship between an individual's Age and BMI, with each point colored green for smokers and orange for non-smokers, using health insurance charges data from a CSV file. The visualization implements the chart entirely with D3 v6 functions, including `d3.csv` for data loading, `d3.scaleLinear` for axes, and `d3.axisLeft` and `d3.axisBottom` for tick marks. The plot is rendered as SVG elements, with each circle positioned via `.attr('cx')` and `.attr('cy')` based on the scaled data values, and axis labels styled green with a Times New Roman font.

AI-generated description

We are Displaying the Insurance Charges dataset using Scatter plot.

MIT Licensed

Similar vizzes