d3-geo
d3-scale
d3-geo | d3-scale | |
---|---|---|
6 | 8 | |
999 | 1,571 | |
-0.2% | -0.1% | |
4.8 | 3.0 | |
23 days ago | 7 months ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | 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.
d3-geo
-
75 Blog Posts to Learn Data Visualization
This tutorial will show you how to convert publicly available shapefiles to TopoJSON to create interactive maps with d3/d3-geo. I will show you how to do this without the use of the command line so you can get into experimenting with d3 as fast as possible. If you are interested in working with shapefiles and TopoJSON in a more advanced fashion, I suggest you take a look at Mike Bostock’s recent multipart tutorials on command-line cartography.
-
Open Source Adventures: Episode 28: Introduction to D3
geographical data handling system
-
I built a full stack website where you guess the country based on its music!
For the globe spinning, I used d3 and topojson to render the world at whatever projection/rotation/etc I give it. Then, using requestAnimationFrame, every frame I slightly rotate the world. Then the "water" behind it is just a blue circle that has hidden overflow.
-
[OC] The Hague Schematic Tram Map Compared to the Geographic Map
Using a d3-geo we make projection and a path generator to 'draw' the geographic lines
-
My lockdown side project: An interactive vintage map builder
Thanks for the compliments! The territory data is coming from https://github.com/aourednik/historical-basemaps, I use this data to render an SVG map with D3.js. This is pretty powerful since you can control every part of the rendering mechanism. With D3-geo you can easily do the projections and graticule.
d3-scale
-
What libraries should I use to recreate a UI like this?
https://github.com/d3/d3-scale for the linear scale mostly
-
Open Source Adventures: Episode 28: Introduction to D3
scale system
-
A chart walks into a bar: Altair vs. leather
On the other hand, for the Y-axis, both charts present a scale with the same domain, ending in a nice round value (100). However, the number of ticks is different.
-
Build Data Visualizations with React
d3-scale Documentation
-
Building a Line Chart in React with VisX
Let's start small and build axes. To build axes, we need to define scales first. Under the hood VisX uses d3, so we it's really useful to review d3 scales documentation. D3 will use math to help translate our numbers to pixel locations inside the container.
-
Simple bar chart with React and D3 📊
Before we render our horizontal axis, we have to remember about scales. Scales are functions that are responsible for mapping data values to visual variables. I don't want to dive too deep into this topic, but if you're interested in further reading, you can check out scales documentation. We want our x-axis to display labels from data, so for this we will use scaleBand.
-
Build cool charts and visualize data with d3.js
We have used several utilities methods from d3 part of the scale module to correctly map our axis with the datas (scaleLinear, scaleBand). If you open your navigator you see now an svg element with two axis but no data yet.
-
How can better diversify the colors on my heat map?
Ah, sorry–misunderstood. Looking at your data it seems like you‘re mapping the raw values to color values, and you seem to have an extreme difference between values (high standard deviation). Try something like d3-scale to normalize the values and make them closer together (to be clear: you should still display the correct values to the user, but when visualizing them, you can use a more logarithmic scale to get a better color spread).
What are some alternatives?
react-simple-maps - Beautiful React SVG maps with d3-geo and topojson using a declarative api.
visx-linechart - visx line chart example with interactive crosshair and tooltip
topojson - An extension of GeoJSON that encodes topology! 🌐
chakra-ui - ⚡️ Simple, Modular & Accessible UI Components for your React Applications
amusicalplanet
MetBrewer - Color palette package in R inspired by works at the Metropolitan Museum of Art in New York
historical-basemaps - Collection of georeferenced boundaries of world countries and cultural regions for use in mapping historical data on global or continental scale
Altair - Declarative statistical visualization library for Python
sea-labels - GeoJSON of multilingual sea labels positioned with curved lines
d3-scale-chromatic - Sequential, diverging and categorical color scales.
d3-format - Format numbers for human consumption.
React - The library for web and native user interfaces.