Skip to content

Instantly share code, notes, and snippets.

Avatar

d3noob

View GitHub Profile
@d3noob
d3noob / 2013-earthquake.js
Last active Aug 17, 2021
Leaflet.heat plugin for leaflet.js
View 2013-earthquake.js
// This earthquake data is sourced from New Zealand’s Geonet
// site over a date range that covers a period of reasonable
// activity in July/August 2013.
var quakePoints = [
[-41.5396,174.1242,1.7345],
[-38.8725,175.9561,2.6901],
[-41.8992,174.3117,4.6968],
[-41.7495,174.02,1.8642],
[-41.7008,174.0876,2.1629],
[-41.7371,174.0682,2.0408],
@d3noob
d3noob / index.html
Last active Aug 7, 2021
Sankey Diagram with v4
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>SANKEY Experiment</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
@d3noob
d3noob / .block
Last active Jul 8, 2021
Sankey diagram using a csv file with v4
View .block
license: mit
@d3noob
d3noob / .block
Last active Jun 27, 2021
Simple histogram using v7
View .block
license: mit
@d3noob
d3noob / .block
Last active Jun 19, 2021
Favorite tooltip (complex version) v7
View .block
license: mit
@d3noob
d3noob / .block
Created Jun 19, 2021
Favorite tooltip (simple version) v7
View .block
license: mit
@d3noob
d3noob / .block
Created Jun 19, 2021
Full Difference Chart v7
View .block
license: mit
@d3noob
d3noob / .block
Created Jun 19, 2021
Simple Difference Chart v7
View .block
license: mit
@d3noob
d3noob / .block
Last active Jun 19, 2021
Multi-line graph 4 with v7: Toggle
View .block
license: mit
@d3noob
d3noob / .block
Created Jun 19, 2021
Multi-line graph 3 with v7: Legend
View .block
license: mit