I am looking at this json file: https://gist.github.com/d3noob/5193723#file-world-110m2-json. In the visualization done by github, the file seems to encode data about cities and towns. However when I look at the json file itself, this data does not seem to be in there (the only objects are land and countries, no cities), and I am not sure how to get this data into my d3 visualization. Am I misunderstanding something about this file/how topojson is encoded?
Cities displayed in topojson visualization, but not in file itself?
317 Views Asked by Andrew At
1
There are 1 best solutions below
Related Questions in JSON
- getting undefined while iterating json
- How can I serialize a numpy array while preserving matrix dimensions?
- What is best way to check if any of the property of object is null or empty?
- How to query JSON data according to JSON array's size with Spark SQL?
- Extracting data from json_decode with lat and lng geolocation
- Convert JSON.gz to JSON in node js
- How do I get the type to convert to when deserializing from Jackson
- Escape dot in jquery validate plugin
- Are allOf and properties keywords interchangeable?
- Sort continents by amount of countries
- Is there a data format lighter than json?
- Object of class CS_REST_Wrapper_Result could not be converted to string in CAMPAIGN MONITOR
- How to read JSON data from a web server running PHP and MySQL?
- Parse Nsmutabledictionary and extract value
- Handle empty JSON values in Java
Related Questions in D3.JS
- Change size of bubble in Scatter Plot for c3.js
- D3 Mouseenter vs Mouseover
- Svg containers not positioning properly
- Bar chart columns not grouping in D3/C3
- Drill down capabality in C3.js
- Changing data sources with zoomable d3 treemap
- Repeat an object with different input data
- d3.js Line Chart Custom x-axis
- D3 Pie Chart with only one part of JSON data
- Prevent click action when dragging a D3 Node
- selecting and using textPath elements in Chrome
- D3.js collapsable tree - visualise set number of levels
- access the array->object -> array values
- How to set a domain on an axis and have the axis intervals not constant or take up different amount of interval spaces using d3
- Detect which type of d3 scale I am working with
Related Questions in GIS
- how to get coordinates from SpatialPolygon
- gdal_merge on a three band .tif - remove the 'no data' value
- Unable to Display GeoJSON data Using Leaflet and Marker Cluster
- In leaflet/mapbox, why can't I set the duration of `map.fitBounds`?
- How to submit multiple street2coordinates requests? (R)
- In leaflet, how to set a marker to a fixed position on map?
- GeoServer develop or use? How can I integrate with geoserver?
- Separate forward and backward relation in overpass-api
- jQuery/javascript Plugin for maps that will render borders or parks
- Error: isTRUE(gpclibPermitStatus()) is not TRUE
- readOGR .gdb with multiple Feature Datasets in R
- What is wrong with this ST_CONTAINS statement PostGIS - Find point in polygon
- Python script won't execute batch file in IIS 7.5
- Loop through categories in a column and perform interpolation on only those records
- Using FME to convert oracle sdo.geometry to SQL geometry datatype
Related Questions in GEOJSON
- Extending Highmaps Side Effect
- How to disable default popup for L.mapbox.featureLayer?
- Finding if lat/long point is inside a polygon defined by coordinates
- How to find polygon in geoJson saved in MongoDB
- GeoJson data not working while add KML coordinates?
- If statement not being entered in for loop
- How to use a polygon string in google maps api
- Django's GeoJSON serializer not serializing all fields?
- How can I nest GeoJSON / TopoJSON geometries OR nest the generated paths with D3?
- Only return selected GeoJSON elements in Leaflet
- Multiple feature collections in single Geojson OL3
- MongoDB, How to query subdocuments close to specific location?
- Learning Leaflet. Noticed examples add a var name to the GeoJson file. Necessary?
- Creating circle with color gradient without using heatmap
- python: how to generate a json file with polygons of the same color but different opacities
Related Questions in TOPOJSON
- doing a merge/mesh on two or more topojson features
- How can I nest GeoJSON / TopoJSON geometries OR nest the generated paths with D3?
- Calculating the percent overlap of two polygons in JavaScript
- TopoJSON map not rendering properly using D3
- Find if a coordinate point is within a topojson feature, geograpic area, using d3js
- topojson cannot convert file containing non-ASCII characters
- topojson.feature with topojson v2
- Creating map of Africa using d3.js and topoJSON
- topojson Uncaught TypeError: Cannot read property 'feature' of undefined
- D3JS TopoJSON map of Australia: projection accurate but no country rendered
- Can't Install Topojson
- States not highlighting
- How to automatically get the scale for a d3.geo.mercator projection with the topojson's bbox?
- Determining which other geographies a given geography shares borders with using geojson
- D3: scale and color for choropleth map
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The github visualisation displays the data in the JSON (orange) overlaid on Google Maps. What's in the JSON are just the orange outlines. If you want cities etc in your map, you'll have to create a separate TopoJSON file, see this tutorial for more information.