finds.dev← search

// the find

humangeo/leaflet-dvf

★ 689 · JavaScript · MIT · updated Mar 2018

Leaflet Data Visualization Framework

Leaflet DVF adds choropleth mapping, thematic markers, and data-driven styling on top of Leaflet. It targets developers who need to go from a dataset to a styled map quickly without writing all the linear interpolation and color scaling themselves. The examples are genuinely extensive — election maps, conflict data, airport visualizations.

The linear function system (mapping data values to visual properties like color, size, opacity) is well-thought-out and saves real boilerplate. Choropleth support is built-in with sensible defaults rather than bolted on. The example set is unusually rich — 30+ working HTML demos covering a wide range of use cases. Marker variety (pie charts, bar charts, sparklines as map markers) goes beyond what stock Leaflet offers.

Abandoned in 2018 — last commit is eight years old, and it targets Leaflet 0.x/1.0 from that era. The Leaflet 1.0 compatibility page in the wiki exists precisely because it was a known problem, not a solved one. No npm package; you're pulling a dist file. Zero TypeScript types, which matters if your stack has moved on. Modern alternatives like deck.gl or Mapbox GL JS have lapped this in performance and capability for anything beyond simple thematic maps.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →