Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 3 Question

Public visualization

Viewing a saved revision (read-only)

570b9accc635405381243555e7108f34

Activity 6_Task 3 Question

0 stars0🌍 Public
SSrihith Reddy Gaddam
Last edited Apr 28, 2025
Created on Apr 28, 2025
Forked from Hello VizHub

This scatter plot visualizes employee health data by plotting cholesterol level against body mass index, with each point colored and shaped to distinguish between healthy and unhealthy health statuses. The visualization uses D3.js v7 with SVG rendering, where the x-axis represents cholesterol levels and the y-axis represents BMI. The code employs d3.scaleLinear for axis scaling, d3.symbol with different symbol types for the two health categories, and d3.axisBottom/axisLeft for the axes. A custom tooltip displays additional attributes like age and blood pressure on hover, with data loaded from a remote CSV file. The legend identifies the healthy and unhealthy categories using distinct colors and shapes.

AI-generated description