Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Dual Choice: Social Media MQP Project Momentum

Public visualization

Dual Choice: Social Media MQP Project Momentum

0 stars1🌍 Public
KK Munz
Last edited Apr 4, 2023
Created on Mar 27, 2023

This dual-mode diverging bar chart compares survey responses across social media platforms, allowing viewers to switch between questions and swap platforms in and out of the comparison. Built with D3 v7, it uses `scaleLinear` and `scaleBand` for positioning, `axisLeft` and `axisBottom` for axes, and a `schemePuOr` color palette. Data is loaded from a CSV via `csvParse`, with interactive dropdowns implemented through HTML `select` elements that trigger state changes and re-rendering.

AI-generated description

I have added words to the legend, a dual mode, and the correct color import

Comments

Sign in to join the discussion.

MIT Licensed