Sets y-position of selected nodes according to a defined array after sankey.js has calculated their position.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This gist shows how to integrate Flask into a | |
# custom Gunicorn-WSGI application described | |
# here: http://docs.gunicorn.org/en/stable/custom.html | |
from __future__ import unicode_literals | |
import multiprocessing | |
import gunicorn.app.base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Released under the GNU General Public License, version 3. | |
(or, optionlly, any higher version) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font: 16px sans-serif; | |
margin: 50px; | |
} | |
#pudomap-legend { | |
margin-top: 30px; | |
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Clickable legend added to Mike Bostock's stacked bar chart to select display of an individual category. With help from yuuniverse4444’s block #8325617.
Fakes a pair of checkboxes using a dc rowChart and making the bars square.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index | Year | |
---|---|---|
1 | 1961 | |
1 | 1964 | |
1 | 1968 | |
1 | 1972 | |
1 | 1973 | |
1 | 1974 | |
1 | 1988 | |
1 | 2013 | |
1 | 2018 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gistup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function drawChoropleth(data,geojson) { | |
choroChart = dc.leafletChoroplethChart("#choro-map .map") | |
.dimension(regionDimension) | |
.group(avgRegionGroup) | |
.valueAccessor(function(p) { return p.value.average; }) | |
.width(800) | |
.height(400) | |
.center([47.00, 2.00]) | |
.zoom(5) | |
.geojson(geojson) |
NewerOlder