Skip to main content
100%

PseudoViz: Diverging Likert

✓ Published1🌍 Public
KK Munz
Last edited Feb 10, 2023
Created on Feb 3, 2023
Forked from Marks and Channels

This visualization displays a diverging Likert scale for survey responses across twelve social media platforms. Each horizontal bar is centered at zero, with segments extending leftward (disagreement, in reds) and rightward (agreement, in blues), sized proportionally to the percentage of total responses. Bars are sorted by overall positive sentiment. The implementation uses d3 v7’s `select`, `scaleLinear`, and `join` to render SVG rects. The data is a hardcoded array of twelve six-integer counts. Colors are manually prescribed using hex values, while the d3-scale-chromatic library is loaded but not used.

AI-generated description

Diverging Likert Scales! This shows the percentages of each count of repsonses. Imagine the colors go strongly disagree, disagree, slightly disagree, slightly agree, agree, strongly disagree. I represented each of these 6 likert options as an array of 6 integers. The size of the bars correspond to the percentage that that options is of the total responses, centered at 0. This can show general sentiment of a count.

MIT Licensed

Similar vizzes