Choropleth - JS问题

时间:2017-03-21 06:54:46

标签: javascript d3.js crossfilter choropleth

我正在尝试使用d3绘制一个等值线。我的GeoJSON功能标题如下所示:

{
  "type": "FeatureCollection",
  "features": [{
        "type": "Feature",
        "properties": {
          "GEO_ID": "0500000US01029",
          "STATE": "01",
          "COUNTY": "029",
          "NAME": "Cleburne",
          "LSAD": "County",
          "CENSUSAREA": 560.100000
        },
        "geometry": {
          "type": "Polygon",
          "coordinates": [
              [
                [-85.388717, 33.913044],
                [-85.380885, 33.873508],
                [-85.379455, 33.866291],
                [-85.377426, 33.856047],
                [-85.376403, 33.850656],
                [-85.364595, 33.788446],
                [-85.361844, 33.773951],
                [-85.360491, 33.767958],
                [-85.357402, 33.750104],
                [-85.355252, 33.739245],
                [-85.344054,

我试着跟随戈登的小提琴(https://jsfiddle.net/gordonwoodhull/28qsa0jr/7/) - 我拉下了爱荷华州的GEOJson数据,并建立了一个关于戈登爱荷华州人口数据的小提琴。 https://jsfiddle.net/akpjsfiddle/2m0npm91/3/

我的合唱不会呈现。我试着检查任何不匹配的括号 - 我没有找到任何。也许问题是我如何编码绑定?有什么帮助或指示吗?

0 个答案:

没有答案