Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

two bar charts

Public visualization

two bar charts

0 stars0🌍 Public
Ddeekshakondam@gmail.com
Last edited Apr 10, 2025
Created on Apr 7, 2025
Forked from Hello VizHub

This visualization shows the distribution of current student grades (A, B, C, D, F) across three stress levels (Low, Medium, High) using a single bar chart. Users can click legend items to filter the display to a specific grade, highlighting the selected legend entry and updating the bars accordingly. The chart loads CSV data via d3.csv, aggregates counts and averages (study hours and social media platforms) per grade-stress combination, and renders SVG bars with a tooltip. Built with D3 v7, it uses d3.mean for aggregation and d3.select for DOM manipulation.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed