I am trying to make this map of the us scale smaller. Either to my SVG, or even manually.   This is my code in its simplest from:  function initializeMapDifferent(){     var svg = d3.select("#map").append("svg")         .attr("w...
Have a topoJSON file that I am importing - seems like this should be easy to flip, but I have no idea. Should I be transforming the object after it's created or  adjusting the JSON? I tried using some projections, which flipped the object, but di...
I am trying to create an interactive map that visualizes certain data.  I used leaflet map and a topojson layer on it. Next, I tried to add static labels on each of the topojson polygons using leaflet label plugin i.e. the labels should always be the...
I am creating a map of a particular state, I have been experimenting with d3.js and topojson and have created a great map, but now I want to add a marker on the map.  But now I have problems because as I add the marker have a GeoJSON file to add mark...
i want to create map of Africa using d3.js and topoJSON. I have that datasource https://gist.githubusercontent.com/bricedev/3905007f1794b0cb0bcd/raw/ad5c995f6990f7c3c7fad5c6206bc6fd5462f1fb/africa.json  That is my code. How i can get properties and c...
I have a simple map of the United States and I'm trying to plot some test Lat Long points. I found this block explaining the process but I'm having trouble converting the syntax to v4. Even when I run the exact code in the block it throws the...
I'm attempting to create a TopoJSON file of school districts in the United States.  I have a set of three shapefiles that I am attempting to combine into a single topojson file, using the following batch script:  call topojson ^     -o SDs11_Topo...
So I started with a really small example that is working well. I used QGIS to draw a line and then converted it to topojson with mapshaper. Then I use D3.js to load and visualize it. This is the bigger but not working example:      jsfiddle.net/kwoxe...
I am trying to convert a relatively large geojson file (383 MB) to topojson to use it with D3.js. I am running the following command on a mac book pro 2016:  geo2topo test.json > test.topojson   and also the following command for simplification:...
I'm trying to create a nyc map with zipcode areas I can color in based on census data (like color an area red if majority white or blue if majority nonwhite). I am simply using one of the shape files I found online from here ( https://data.cityof...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.