Má někdo funkční příklad nebo návrh na knihovnu pro grafy v Javascriptu, kterou by bylo možné použít s esri-leaftlet-related (GitHub - jgravois/esri-leaflet-related: esri leaflet plugin pro dotazování souvisejících tabulek)?
Například, jak byste vytvořili sloupcový graf počtu kol v čase pro tento příklad: https://johngravois.com/esri-leaflet-related/index.html?
Myslel jsem si, že Cedar (cedar.js | Esri Cedar) by mohl dobře fungovat, ale úplně nevidím, jak ho použít s esri-leaftlet-related.
Děkuji,
-Bruce
i could be wrong, but i don't think there's anything cooked into Cedar to simplify creating a chart that plots the appearance of individual records in a table over time. You can see an example of a generic leaflet D3 chart plugin that displays elevation from input GeoJSON and GPX files below.
GitHub - MrMufflon/Leaflet.Elevation: Leaflet plugin to view height profile of GeoJSON- and GPX polylines using d3
We integrated the plugin in an esri-leaflet-gp demo here:
https://johngravois.com/esri-leaflet-gp/elevation.html
I'm happy to lend a hand if you decide to tackle the project you described and get stuck along the way. Just write again here or log an issue in esri-leaflet-related and share what you've already tried.
Take a look at dc.js (dc.js - Dimensional Charting Javascript Library )
Here's a project that I came across that uses Leaflet in combination with dc.js & d3. Perhaps worth a look.
GitHub - austinlyons/dcjs-leaflet-untappd: Beer Drinking Data Vizualization using dc.js, Crossfilter, and Leaflet
Thank you John. I'll looking into the demo and see what I can come up with. -Bruce
Thank you Seth. I'll give the librayr and example an in-depth look to see how it might fit into my project. -Bruce
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.