Leaflet
d3
Our great sponsors
Leaflet | d3 | |
---|---|---|
219 | 277 | |
39,937 | 107,634 | |
0.9% | 0.3% | |
8.9 | 8.0 | |
11 days ago | 18 days ago | |
JavaScript | Shell | |
BSD 2-clause "Simplified" License | ISC License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Leaflet
-
JavaScript Libraries That You Should Know
9. Leaflet
-
Animated traveling map with Leaflet
Leaflet is the most famous open-source map library, with lots of plugins. 2 of them are used to animate a marker on the map:
-
5 JavaScript mapping APIs compared
Leaflet stands out as one of the top open source JavaScript libraries for crafting interactive maps. Optimized for both mobile and web devices, it is relatively small (around 42KB) and offers a ton of features, plugins, and a straightforward API. It works across all browsers and platforms.
- 2024: The year of the OpenStreetMap vector maps
-
Shots: Create Mockups
Finding maplibre 'better' was more valid at the time than today, and is also subjective. The creators and maintainers of both libraries have done some great work (and are still doing so).
Back in January 2022, the stable version of leaflet, v1.7.1, was from September 2020, and was affected by some small bugs degrading the user experience. Although the release of following version seemed close, there was no clear schedule for it, and I had concerns about how maintained the library would remain.
As of today, the bug from 2015 where there is some white space between map tiles on fractional zoom levels [0] is still open.
Also, leaflet was a pain to integrate in Svelte Kit framework, because it depended on `window` and-or `document`, not available at server side.
Maplibre, on the other hands, with a feature set roughly equivalent to Leaflet, benefited from much more frequent releases, and seemed more stable across browsers and devices. It was also easier to make it work in Svelte kit.
[0]: https://github.com/Leaflet/Leaflet/issues/3575
-
🌲Svelte + 🍃Leaflet + 📍 Clusters
For a personal project, I had to use Leaflet with Svelte, and I faced some problems during development.
-
Embed leaflet JS maps in notion?
Do anyone have any workaround on how to get leaflet js to work inside notion, either as an embed or as code, or widget? https://leafletjs.com/
-
Ask HN: When building with complex maps do you go with GMaps, Mapbox, OSM?
None of those things are what most in the GIS space would consider "complex", so you could go with any of the options you selected. For lightweight maps, I like Leaflet
https://leafletjs.com
-
What’s the most beautifully documented project you’ve seen?
I have a special place in my heart for Leaflet and it’s documentation: https://leafletjs.com
-
Who wants to collab for a Grab-clone or Angkas-clone web app?
Its suppose to be free: like with map data providers there's Leaflet, OpenStreet Maps and many more which are all for free.
d3
-
A visual guide to Vision Transformer – A scroll story
Yes this was done with a combination of GSAP Scrolltrigger https://gsap.com/docs/v3/Plugins/ScrollTrigger/ and https://d3js.org/
- Ask HN: Tips to get started on my own server
-
Full Stack Web Development Concept map
d3 - very power visualization library enabling dynamic visualizations. docs
-
Observable 2.0, a static site generator for data apps
Yep, Evidence is doing good work. We were most directly inspired by VitePress; we spent months rewriting both D3’s docs (https://d3js.org) and Observable Plot’s docs (https://observablehq.com/plot) in VitePress, and absolutely loved the experience. But we wanted a tool focused on data apps, dashboards, reports — observability and business intelligence use cases rather than documentation. Compared to Evidence, I’d say we’re trying to target data app developers more than data analysts; we offer a lot of power and expressiveness, and emphasize custom visualizations and interaction (leaning on Observable Plot or D3), as well as polyglot programming with data loaders written in any language (Python, R, not just SQL).
-
Using Deno with Jupyter Notebook to build a data dashboard
D3.js: A robust library to visualize your data and create interactive data-driven visualizations.
-
What is the technology stack used to create these live charts?
They are images so it could be any number of things, datawrapper, charts.js, d3.js to name a few options.
-
Animated map showing frequency and location of births around the world [OC]
I made this interactive visualization that attempts to show the real-time frequency and location of births around the world. A country’s annual births (i.e. the country’s population times its birthrate) were distributed across all of the populated locations in each country, weighted by the population distribution (i.e. more populated areas got a greater fraction of the births). Data Sources and Tools Population and birthrate data for 2023 was obtained from Wikipedia (Population and birth rates). Population distribution across the globe was obtained from Socioeconomic Data and Applications Center (sedac) at Columbia University. Data is processed and visualized at a 1 degree x 1 degree resolution, each of which has a different probability of a birth occurring in a specific time period. D3.js was used to create the map elements and html, css and javascript were used to create the user interface.
-
How do you implement library types?
When I go to the homepage of types/d3 the only hint for any kind of documentation is what seems to be the main github page of d3. It's highly possible I'm missing something here, so sorry if I am but I can't find any documentation of how you are supposed to type these library objects.
-
The top 11 React chart libraries for data visualization
Website: D3.js official site
-
Frontend development roadmap
D3js
What are some alternatives?
Cesium - An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
echarts - Apache ECharts is a powerful, interactive charting and data visualization library for browser
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2
GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
OpenLayers3 - OpenLayers
vis
folium - Python Data. Leaflet.js Maps.
d4 - A friendly reusable charts DSL for D3
mapbox.js - Mapbox JavaScript API, a Leaflet Plugin
svg.js - The lightweight library for manipulating and animating SVG
polymaps - Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.
sigma.js - A JavaScript library aimed at visualizing graphs of thousands of nodes and edges