score:1
Please refer d3 v4 API. d3.geo().albers() works with d3 v3. In v4 you might have to use d3.geoAlbers() instead. Similarly for d3.geo.path() you might have to use d3.geoPath() This might help you https://github.com/d3/d3/blob/master/CHANGES.md#geographies-d3-geo
Source: stackoverflow.com
Related Query
- d3 geojson works in v2, but not in v4
- d3.select(this) works on mouseover, but not on function called in mouseover
- Fisheye effect D3js image slideshow works on rects/objects but not image files, Error: <image> attribute x: Expected length, "NaN"
- SVG clip-path works in Chrome, but not in Firefox or Safari
- 'Autofocus' attribute works once, but not twice, on input elements
- graph works on Chrome but not on Firefox
- html page works when local but not when on cloud ide
- Data filter works with json data but not with csv data
- d3 file not working in chrome but works in firefox
- Smoothly animating new elements works from right but not from left
- D3.js code not rendering in browser when loaded from file, but works fine in console
- Zoom axis works but stem lines and circle not work
- d3 Nested Selections - Table Appending Works in d3.v2 but not in d3.v3
- area(data) works but area does not d3.js
- D3 adds path for geojson but not topojson
- D3 chart works works perfectly on jsfiddle but not on localhost
- Dynamically updating in d3 works for circles but not external SVGs
- d3 implementation works on firefox/chrome, but not iPad
- D3.js - Nested Data Works But Selection Does NOT Follow
- D3 mapping with geoJson US Map working but not World
- application not working after chrome update to version 66 but works in firefox and edge
- d3 drag works but appear Uncaught TypeError: a.target.className.indexOf is not a function
- D3 force layout works in Chrome, but not in Firefox
- d3 selectors: Works in code but not in console. Why?
- d3.select works on body, but not on id. What am I missing?
- d3.js - updating fill color for path works with string array, but not with json data
- d3.js example works on example website but not on my server?
- Code works with array, but not with csv-file in d3.js. Why?
- NVD3.js multiChart x-axis labels is aligned to multiple lines, but not multiple bars
- NVD3.js multiChart x-axis labels is aligned to lines, but not bars
More Query from same tag
- Media query in d3.js only partially successful
- Problems with dataset in D3 project
- Transfer d3 v3 to v4 (projection)
- How to skip x axis labels in d3.js chart dynamically to have always a pretty chart?
- Show value along with where needle is pointing in d3 gauge chart
- Angular D3: How to change the svg viewport size
- Trying to update d3.js circles with new data
- d3's selection.text() is expensive
- d3.js maps: using a geojson file AND CSV data
- Bar graph on time axis with plottable.js - bar positions
- Access x value on axis d3
- D3, Scale How to set the scale?
- Return individual value from a D3 color range to create legend
- Apply multiple filters except Others in crossfilter dc js
- Attempt to rotate bar graph failed
- nvd3 - How to redraw axis on windows resize
- ReferenceError- crossfilter is not defined
- Line chart of D3.js won't show due to <path> attribute d: Expected number, "M0,NaNL38.695652173…"
- Inverting SVG image mask
- Trying to get d3 ticks to show up every X months, formatted correctly
- How to use 'click, mouseover, mousedown' and so on in d3 v4
- How long will D3.js v3 be supported?
- Learning D3 Js with Observablehq
- How to load a json from externally to a D3 application
- Change the csv input by a variable
- D3 - Add bars into group
- Can I feed this JSON to D3 to draw a line chart?
- d3.js code from javascript console to html page
- Level 2 nest bar chart
- Cannot read property error using d3.js