Skip to content

Instantly share code, notes, and snippets.

@fractalytics
fractalytics / colors.csv
Created April 17, 2022 13:19
NASA internet browsing sunburst
name color
shuttle #ff9f40
apollo #ff0000
missions #00beff
history #a45411
countdown #8000ff
@fractalytics
fractalytics / index.html
Created May 1, 2019 21:28
Visualize sickit-learn decision trees with d3.js
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<style>
.node {
cursor: pointer;
}
.node circle {
@fractalytics
fractalytics / index.html
Last active February 19, 2018 00:14
Segmentation
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {
fill: none;
@fractalytics
fractalytics / data_fdi.csv
Last active July 7, 2017 08:50
bubble chart
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 3 columns, instead of 2. in line 5.
name,value,color
United States,395995000,#3d02f1
United Kingdom,253700405,#8415e0
China (People's Republic of),170556500,#c82424
Brazil,58680000,#e0dd15
India,44464000
Australia,41980971
Russia (Federation),37440000
France,34139488,#15e0c0
Canada,33721141