score:0

i am afraid it is not possible to display only bronx in the map because census tract ids in ny.json are unique only at borough level. for instance, census tract 014300 appears in bronx, brooklyn, manhattan, and queens. ny.json stores only census tract ids in ny.objects.tracts.id, and not their fips county codes.

this makes filtering on borough name impossible: https://bl.ocks.org/memoryfull/ba6121d19f80f85f0beb

even if the filtering was feasible, it would be suboptimal. instead, i would create own geojson of bronx in any gis software with census tract ids and then call it in your d3 code.


Related Query

More Query from same tag