Skip to main content
100%

First Visual: Social Media MQP

✓ Published1🌍 Public
KK Munz
Last edited Feb 13, 2023
Created on Feb 10, 2023

A diverging horizontal stacked bar chart visualizes Likert-scale survey responses to question C3 about social media, with each bar representing a media type and color-coded segments from strongly disagree (red) to strongly agree (blue). The chart fetches CSV data, parses it with `d3.csvParse`, groups responses by question using `d3.group`, and computes percentage counts per scale point. Bars are sorted by agreement score and rendered using `d3.scaleLinear` for the x-axis and `selection.join` for SVG rectangles, with a fixed six-color palette.

AI-generated description

Connected my MQP data to the diverging likert scale visualization!

MIT Licensed

Similar vizzes