Collection of small, reusable charts created with d3.js
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_data Added link for Danish polling data May 4, 2014
_functions Made function conform to style Feb 10, 2015
_geodata Uploaded TopoJSON to _geodata lib Apr 8, 2015
_lib Updated D3 for party-trend since no tickSubdivide; closes #22, closes #1 Apr 5, 2015
_screenshots Fixed mixed-up colours for coalition-majority Mar 30, 2015
advanced-table @ 96b71d3 Added csv-to-html-table submodules Oct 30, 2013
bill-votes Added reference to d3-charts collection in gists Oct 4, 2013
coalition-majority @ 92553c2 Preliminary responsiveness cf. #11 Jun 19, 2015
combi-chart @ 02e0673 Added reference to d3-charts collection in gists Oct 4, 2013
confidence-interval @ 6ac9e31 Added electionDate support for all charts but party-trend May 3, 2014
majority-chart @ a3887ad Replaced symmetric stack chart with majority chart Jan 18, 2014
party-trend @ 36f2178 Preliminary responsiveness cf. #11 Jun 19, 2015
party-votes @ 46d4142 Added electionDate support for all charts but party-trend May 3, 2014
relative-budgets @ 9b7cd2b Preliminary responsiveness cf. #11 Jun 19, 2015
simple-table @ 415c004 Added csv-to-html-table submodules Oct 30, 2013
world-map @ efc0d36 Preliminary responsiveness cf. #11 Jun 19, 2015
.gitignore Added more to .gitignore Feb 10, 2015
.gitmodules Removed obsolete blame-chart Mar 24, 2015
.jscsrc Updated .jscsrc Mar 31, 2015
.jshintrc Updated .jshintrc Mar 29, 2015
.mdlrc Included Markdown linter Mar 2, 2015
README.md Moved some charts to Legacy section Apr 4, 2015

README.md

d3 Charts

A collection of reusable charts made with d3.js.

General

Map

World View

Map thumbnail

Example, info, and source here.

Multicolour-map thumbnail

Example, info, and source here.

Political

Many of newspapers (print and digital) outside, and sometimes inside, the US are lagging behind, when it comes to using an online platform to cover and break down polling and votes in governmental bodies.

One consequence of the US-centric innotative drive in data visualizations is that it mainly supports a US-style parliament, ie a two-party and two-candidate system (including Independents) with little to no support for multi-party parliaments and coalitions. In democracies like Scandinavia, this becomes a problem.

Hence, I have tried to create a collection of charts that should amend this. I have yet to figure out the official licensing with regards to d3.js and any similarities in code between these projects and their inspirations.

Party Trend

Single-Party Display

Party Trend, single-party display thumbnail

Example, info, and source here.

Multi-Party Display

Party Trend, multi-party display thumbnail

Example, info, and source here.

Coalition Majority

Coalition Majority thumbnail

Example, info, and source here.

Works in Progress

  1. Combi Chart

  2. Bill Votes

  3. Relative Budgets

    Relative Budgets thumbnail

Miscellaneous

Works in Progress

Majority Chart

Symmetric Stack Chart thumbnail

Example, info, and source here.

CSV to HTML Table

  1. Simple
  2. Advanced

Legacy Charts

Confidence Interval

Confidence Interval thumbnail

Example, info, and source here.

Party Votes

Party Votes thumbnail

Example, info, and source here.