Platform
Solutions
Resources
Pricing
Sign in
Sign up
Elliot Winkler
Full-stack dev @metamask (formerly @tuftandneedle, @thoughtbot).
Workspace
Fork
Published
By
Elliot Winkler
Edited
Jul 14, 2019
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
renderToneWheel
(
[
]
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
}
]
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
}
,
{
ratio
:
Fraction
(
9
,
8
)
}
,
{
ratio
:
Fraction
(
3
,
2
)
}
,
{
ratio
:
Fraction
(
5
,
4
)
}
]
)
Insert cell
// 4. forward order, include inversions
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
}
,
{
ratio
:
Fraction
(
9
,
8
)
}
,
{
ratio
:
Fraction
(
3
,
2
)
}
,
{
ratio
:
Fraction
(
5
,
4
)
}
,
{
ratio
:
Fraction
(
5
,
3
)
}
]
,
{
includeInversions
:
true
}
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
}
,
{
ratio
:
Fraction
(
9
,
8
)
}
,
{
ratio
:
Fraction
(
3
,
2
)
}
,
{
ratio
:
Fraction
(
5
,
4
)
}
,
{
ratio
:
Fraction
(
5
,
3
)
}
]
,
{
includeInversions
:
true
,
decolorDuplicates
:
true
}
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
}
,
{
ratio
:
Fraction
(
9
,
8
)
}
,
{
ratio
:
Fraction
(
3
,
2
)
}
,
{
ratio
:
Fraction
(
5
,
4
)
}
,
{
ratio
:
Fraction
(
5
,
3
)
}
]
,
{
includeInversions
:
true
,
hideDuplicates
:
true
}
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
2
,
1
)
}
,
{
ratio
:
Fraction
(
9
,
8
)
}
,
{
ratio
:
Fraction
(
3
,
2
)
}
,
{
ratio
:
Fraction
(
5
,
4
)
}
]
,
{
sortInReverse
:
true
}
)
Insert cell
// 8. sortInReverse + includeInversions
renderToneWheel
(
[
{
ratio
:
Fraction
(
2
,
1
)
}
,
{
ratio
:
Fraction
(
9
,
8
)
}
,
{
ratio
:
Fraction
(
3
,
2
)
}
,
{
ratio
:
Fraction
(
5
,
4
)
}
]
,
{
sortInReverse
:
true
,
includeInversions
:
true
}
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
}
,
{
ratio
:
Fraction
(
9
,
8
)
}
,
{
ratio
:
Fraction
(
5
,
4
)
}
,
{
ratio
:
Fraction
(
3
,
2
)
}
]
,
{
drawSpokes
:
true
}
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
}
,
{
ratio
:
Fraction
(
9
,
8
)
}
,
{
ratio
:
Fraction
(
5
,
4
)
}
,
{
ratio
:
Fraction
(
3
,
2
)
}
]
,
{
drawEqualDivisions
:
12
}
)
Insert cell
renderToneWheel
(
[
]
,
{
drawEqualDivisions
:
12
}
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
4
,
5
)
}
,
{
ratio
:
Fraction
(
1
,
1
)
}
]
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
,
alwaysShowLabel
:
true
}
,
{
ratio
:
Fraction
(
81
,
80
)
,
alwaysShowLabel
:
false
}
,
{
ratio
:
Fraction
(
16
,
15
)
,
alwaysShowLabel
:
false
}
]
)
Insert cell
// TODO: Fix this (to be fair, this is an edge case?)
renderToneWheel
(
[
{
ratio
:
Fraction
(
2
,
3
)
}
,
{
ratio
:
Fraction
(
1
,
1
)
}
,
{
ratio
:
Fraction
(
18
,
5
)
}
,
{
ratio
:
Fraction
(
3
,
2
)
}
]
,
{
includeInversions
:
true
}
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
,
alwaysShowLabel
:
true
}
,
{
ratio
:
Fraction
(
3
,
2
)
,
alwaysShowLabel
:
false
}
,
{
ratio
:
Fraction
(
81
,
80
)
,
alwaysShowLabel
:
false
}
,
{
ratio
:
Fraction
(
20
,
19
)
,
alwaysShowLabel
:
false
}
]
,
{
includeInversions
:
true
}
)
Insert cell
renderToneWheel
(
[
{
ratio
:
Fraction
(
1
,
1
)
}
,
{
ratio
:
Fraction
(
Math
.
pow
(
2
,
3
/
12
)
,
1
)
}
]
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
One platform
to build and deploy the best data apps
Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
renderToneWheel
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buildTonesFrom
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buildTonesWithThetas
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buildArcs
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buildGroupedIndexedPairsFrom
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
presentTones
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
determineLargeArcFlagFor
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
determineSweepFlagFor
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
addRingTo
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
addSpokesTo
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
addDivisionsTo
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
addArcsTo
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
addPointsTo
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
addPointLabelsTo
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
calculateHeightFrom
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
determineCenterFrom
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
mapToX
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
mapToY
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
mapToTheta
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buildThetaScale
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buildCombinationsOf
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buildCombinationsWithInversionsOf
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
pairsAreEqual
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
formatRatio
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
inspectPairs
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
inspectTones
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
compareRatios
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
PolarTone
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
startingRingRadius
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
arcThickness
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ringGutter
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
verticalPadding
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
log
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
DEBUG
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
_
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML