Tom MacWright's demonstration of jenks natural breaks implemented in simple-statistics.
Rendered by d3js, based on an example by Mike Bostock.
-- Functions to create and draw histograms with PostgreSQL. | |
-- psql> select * from show_histogram((select histogram(length(email), 0, 32, 6) FROM auth_user limit 100)); | |
-- bucket | range | count | bar | cumbar | cumsum | cumpct | |
-- --------+-------------------------------------+-------+--------------------------------+--------------------------------+--------+------------------------ | |
-- 0 | [0,5.33333333333333) | 1 | | | 1 | 0.00273224043715846995 | |
-- 1 | [5.33333333333333,10.6666666666667) | 5 | = | | 6 | 0.01639344262295081967 | |
-- 2 | [10.6666666666667,16) | 149 | ============================== | ============= | 155 | 0.42349726775956284153 | |
-- 3 | [16,21.3333333333333) | 145 | ========= |
Tom MacWright's demonstration of jenks natural breaks implemented in simple-statistics.
Rendered by d3js, based on an example by Mike Bostock.
{ | |
"Arial Unicode MS": [ | |
"Arial Unicode MS Regular", | |
"Arial Unicode MS Bold" | |
], | |
"Brokenscript OT": [ | |
"Brokenscript OT Bold", | |
"Brokenscript OT Cond Bold" | |
], | |
"Brokenscript Rough OT": [ |
license: MIT |
This is the map of Nielen Designated Marketing Areas using D3.js. Hover over for data related to each area.
See map here
See code here
###Credits
<html> | |
<head> | |
<title>Deckgl RGB PointCloud + Mapbox</title> | |
<script src="https://unpkg.com/deck.gl@^7.0.0/dist.min.js"></script> | |
<script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.54.0/mapbox-gl.js"></script> | |
<link rel="stylesheet" type="text/css" href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.54.0/mapbox-gl.css"> | |
<style> | |
body { | |
background-color: #000000; | |
margin: 0; |
scrolling: yes |
license: mit |
license: mit |