intro-to-d3 icon indicating copy to clipboard operation
intro-to-d3 copied to clipboard

Update a section that was using deprecated code

Open ghost opened this issue 8 years ago • 1 comments

A bit of example code on https://square.github.io/intro-to-d3/data-binding/ was still using the deprecated rangeRoundBands method. The whole section has been updated to use a band scale instead of an ordinal one.

I am not sure the description is correct enough after being updated though.

I got some errors when I ran the code while following along your useful guide, so I figured this would be great for one of my first contributions to open source.

This would fix issue #22.

ghost avatar Nov 10 '16 22:11 ghost

I made similar changes to my copy of the code when doing the tutorial. +1

jnothman avatar Nov 23 '17 06:11 jnothman