Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3.3

Public visualization

Viewing a saved revision (read-only)

21035ba9054b4d278c458d8d7ed123e3

Activity6_Task3.3

0 stars0🌍 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.