Skip to content

Instantly share code, notes, and snippets.

@aktivkohle
aktivkohle / .block
Last active August 24, 2016 12:32 — forked from mbostock/.block
interactive, animated visualisation with d3.js
license: gpl-3.0
height: 900
@aktivkohle
aktivkohle / README.md
Last active August 24, 2016 12:32
interactive visualisation example dimple.js

Here this is my more sensible re-make of this chart.

This chart is a depiction of perceived and actual substance use in a survey of a thousand students. It is quite a mess, a reminder about how little journalists care about the truth. The height of the bars is unconnected to the printed values. They seem to want to convey that perception is far greater than reality with substance use, but want to depict that so badly they can't even maintain some honesty by linking the numbers to the graphic. Even the zero height bars seem to have a height. A bar with 30.9% is higher than a bar of 56.9%, nothing seems to really add up to 100%. Okay, perhaps the surveys had a certain proportion of didn't respond. The alcohol numbers do come close, adding up to 98%, which can be interpreted to mean that almost all the surveyed hold an opinion on their own and their peer's use of alcohol.


Creating a better graphic

As far as mak