Source: Statistics Canada
GEOJson data by Johan Sundström
Totals for major cities (shown) is 6,979. Other Quebec, Other Ontario, Manitoba, Saskatchewan, Other Alberta, Other British Columbia, Territories, Province or territory not stated not shown (21,302).
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset='utf-8' /> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
</head> | |
<body> | |
<div class="container" role="main"> | |
<div class="sections"> | |
<article> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
</head> | |
<body> | |
<script> | |
//some dummy data |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
</head> | |
<body> | |
<article></article> | |
<script> |
Sources:
Statistics Canada - Total entries of humanitarian population by province or territory and urban area
This code adapts a choropleth map tutorial by Scott Murray and replaces using a range of colours with a tooltip similar to the one used here.
Canada.json is a GeoJSON file created using data from the Natural Earth repository of Shapefiles and Ogre, a web client to convert Shapefiles to GeoJSON.
What are the 20 most recent tracks added to WFMU's Free Music Archive?
WFMU's Free Music Archive makes a list of recently added tracks to its archive available at http://freemusicarchive.org/recent.jsonp. This visualisation calls in and displays that data using D3's force directed layout feature as well as this D3 JSONP plugin.
The artists are delineated via colour using a D3 categorical colour scale. Each node of the layout is also labelled.
The Free Music Archive is project by the freeform radio station WFMU. It provides a library of legal audio that anyone can download.
How many curators are contributing playlists to the Free Music Archive?
The Free Music Archive (FMA) is project by the freeform radio station WFMU, which is based in Jersey City, New Jersey.
In line with WFMU's open access philosophy, the Free Music Archive provides a library of legal audio that anyone can download, and has a basic API that provides access to curator, album, artist and track data in JSON, JSONP and XML formats.
This visualisation calls in Free Music Archive curator data (specifically, the number of playlists each curator has contriubted to the FMA) via JSONP and displays the data as a scatterplot.
Who are the top 10 contributors (by # of playlists) to the Free Music Archive?
This visualisation displays curator data as a bar graph and makes use of this D3 JSONP plugin to grab curatorial data using the Free Music Archive's API.
The bar graph is labelled, with labels displaying on hover. D3's categorical colour scale is also employed.
The Free Music Archive is project by the freeform radio station WFMU. It provides a library of legal audio that anyone can download.
Experimenting with re-drawing a map using a resize() function.
Refugee claimants entering Canada, broken down by Canadian region, 2012
Sources:
Statistics Canada - Total entries of humanitarian population by province or territory and urban area
Canada.json is a GeoJSON file created using data from the Natural Earth repository of Shapefiles and Ogre, a web client to convert Shapefiles to GeoJSON.