ndarville / d3-charts

Collection of small, reusable charts created with d3.js
7 stars 1 forks source link

Blame Chart #7

Open ndarville opened 11 years ago

ndarville commented 11 years ago

blame-chart

I think there has to be something “above” the chart for easy reading, so (2) is out of the picture.

ndarville commented 10 years ago

Check out the time-series chart.

capture

ndarville commented 10 years ago
var groupName = 'group',
    groupColors = {'R': 'red', 'D', 'blue'};
var presidents = [
    { 'name': 'Clinton',  'group': 'D', 'period': ['1992-02-11','2000-02-11'] },
    { 'name': 'Bush Jr.', 'group': 'R', 'period': ['2000-02-11','2008-02-11'] },
    { 'name': 'Obama',    'group': 'D', 'period': ['1992-02-11','2000-02-11'] }
];
ndarville commented 9 years ago

Rendered obsolete by party-trend as far as I am concerned.

ndarville commented 9 years ago

This means the third (3) option was chosen—which I think is the best anyway. No native support for the kind of named labelling as displayed, but you could look into implement it on an individual basis.

ndarville commented 9 years ago
ndarville commented 9 years ago

Look into what happens when periods overlap; may not neat something extra for this.