Published
Edited
Feb 7, 2022
Contour Labels (canvas)Coordinated mapsgeoformatSmall circle testKruskal MazeAll the geoshapesReprojecting Vector TilesCloud ContoursHello h3-jsClipping AlbersTranslucent EarthThe truth about the Mercator projectionUsing d3-inertia with observableMercator projection of a Mercator globeD3 Vector Tiles (WIP)Finding intersections between the graticule and the clip sphere of the stereographic projection, method 2Plate tectonicsAnother hex mapEquateur & tropiquesTissot's indicatrixDistance to shoreMultiPolygon clippingSouth Africa’s medial axisSpherical intersectionVolcano Semis (points circulaires)Pencil Airocean45° mapNetCDFBlue noise sphereRubber DymaxionSpherical quasi-random (R2) distributionAutomated label placement (countries)Automated label placement (France)Automated label placement (cities)d3.geoIntersectArcDelaunay.findTriangled3-geo-voronoi and gridded dataElevation vtk.jsMapfillKrigingSpherical HeatmapReproject elevation tiles — detailReproject elevation tiles — worldFisheye Conformal MapSpherical KDE InterpolationSpherical kernel interpolation with nearest neighborsShepard’s methodModified Shepard’s methodSpherical contoursGeo Voronoi interpolationBlurry contoursHow much warmer? (BBC)H3 hexagons & geoContoursHillshading & supersamplingH3 odditiesManhattan VoronoiManhattan Voronoi IIGeoJSON feature editorColorized Manhattan Spanning Treelegra mapslegra country mapsThe complex logarithm projectionCountries small multipleThe 2D approximate Newton-Raphson methodOceanAttitudeCount visible objectsThe Gray-Fuller spatial grid
Gray-Fuller grid metrics
Gray-Fuller grid odditiesSpherical smallest-circle problemBounding CirclesCountries Enclosing CirclesFullscreen Seamless Zoomable Map TilesMap Pan & ZoomSpherical EllipsesSynchronized projectionsThe closest countryTriangular tiling of icosahedronHello, polygon-clippingCorées / KoreasHello, procedural-glHello, placekeyZoom World ChoroplethClipping spherical polygonsSpherical phyllotaxisFour-color world map with ClingoHello, jsgeoda!The Sun’s analemmaWorld of squaresWorld of squares (spherical)A map of AfricaTagged bordersClipped geoVoronoiBlue noise sphere IISpherical Perlin NoiseSpherical Delaunay triangulationDynamic simplificationRewindPlot: Voronoi labelsAoC 12: shortest path under constraintsHello, pixi.jsFlight PathsRay out of a convex hullDistance to a segment
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
N = 120
Insert cell
import { grid } from "@fil/gray-fuller-grid"
Insert cell
points = {
const t = performance.now();
return Object.assign(grid(N), { t: performance.now() - t });
}
Insert cell
v = {
const t = performance.now();
return Object.assign(d3.geoVoronoi(points), { t: performance.now() - t });
}
Insert cell
polygons = v.polygons()
Insert cell
Insert cell
deviation_percent = d3.deviation(areas) / median
Insert cell
maximum_percent = {
const median = d3.median(areas);
return d3.max(areas, d => Math.abs(d - median)) / median;
}
Insert cell
areas = polygons.features.slice(12).map(d3.geoArea)
Insert cell
median = d3.median(areas)
Insert cell
mean = d3.mean(areas)
Insert cell
data = areas.map(a => a / median)
Insert cell
d3.extent(data)
Insert cell
Insert cell
edgeLengths = polygons.features.slice(12).map(d3.geoLength)
Insert cell
medianLength = d3.median(edgeLengths)
Insert cell
dataLength = edgeLengths.map(d => d / medianLength)
Insert cell
deviation_percentLength = d3.deviation(edgeLengths) / medianLength
Insert cell
maximum_percentLength = d3.max(edgeLengths, d => Math.abs(d - medianLength)) /
medianLength
Insert cell
d3 = require("d3@7", "d3-geo-projection@4", "d3-geo-polygon@1.8", "d3-geo-voronoi@2")
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.
Learn more