Platform
Resources
Pricing
Sign in
Contact us
Fabian Iwand
Web developer and autodidact with an interest in creative coding.
Workspace
Fork
Published
Tools & Techniques
By
Fabian Iwand
Edited
Feb 6, 2022
1 fork
Importers
8 stars
Tools & Techniques
Throttle
Search Query Tokenization
Compiling a regex from strings
Pure CSS Tree
The Fed - FOMC Projections Data
Terraform Registry Search
Lots of Dots
Exporting Your DuckDB Databases
flyctl Docs
HTML to Markdown
D3 Documentation Index
Throttling Function Calls
Web Page Metadata
Patched Imports
Deconstructing a Notebook
Discrete Sibson Interpolation
Edge Distance in Regular Polygons
Using A Vega-Lite Chart As Input Widget
findTriangle() for D3.Delaunay and Delaunator
Transparent Color Widget
Canvas Outlines: Stroke vs Fill
Eases On Edge
Converting Between Keyboard Layouts
D3 Force Along a Path
Inverted Luminosity
(Attempt at) Embedding a Video Into an SVG
Force Graph Trails
Title Transliteration
Optimal Tiling
Vega-Lite, Unminified
Notebook Version UUID
Improving Animations Through Motion Blur
Watermark
Querying the npm registry
Stitched Easings
Dynamic Notebook Links
Pixel Probing
Mapping Color Scales with SVG Filters
Google Maps Cost Calculator
Encoding Data In Images
Zdog Helpers
Using CodePens in Observable
Look What The Cat Dragged In
Adobe Swatch Exchange Exporter
Polygon Sine Wave
SVG Single Path Grid
Color Blending Is Broken
Intersection Arcs
Per-Layer Fadeout In 2D Canvas
Voronoi Borderlands
Embedding a canvas into an SVG
Embedding Fonts Into An SVG
Version Pinning for Notebooks
Splitting Lines
Easing In Multiple Steps
Insert cell
Insert cell
Insert cell
viewof
colors
=
Inputs
.
form
(
[
colorOpacity
(
{
value
:
'#ff95008c'
,
label
:
'Start color'
}
)
,
colorOpacity
(
{
value
:
'#6bffff24'
,
label
:
'Mid color'
}
)
,
colorOpacity
(
{
value
:
'#00ccff'
,
label
:
'End color'
}
)
,
]
)
Insert cell
Insert cell
Insert cell
Insert cell
colorOpacity
(
{
value
:
'#ff95008c'
,
label
:
html
`<code style="text-decoration: underline">Color`
,
disabled
:
true
,
width
:
'75%'
,
}
)
Insert cell
Insert cell
colorOpacity
(
{
min
:
50
,
max
:
150
,
step
:
10
}
)
Insert cell
Insert cell
viewof
pastelColor
=
colorOpacity
(
{
value
:
'#ffd8eeff'
,
// Only allow colors with a lightness over 85%
validate
:
input
=>
d3
.
hsl
(
input
.
value
)
.
l
>
.85
,
}
)
Insert cell
<
div
style
=
${{background:
pastelColor
, height: '30px', border: '1px solid #aaa'}}>
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
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
colors
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
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
Edit
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
pastelColor
Add comment
Copy import
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
colorOpacity
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
parseColor
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
toInt
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
pattern
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML