Skip to content

Instantly share code, notes, and snippets.

@matt-oxley
Created April 7, 2019 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matt-oxley/c9a942a75a28cfb2f7fcedf598441e07 to your computer and use it in GitHub Desktop.
Save matt-oxley/c9a942a75a28cfb2f7fcedf598441e07 to your computer and use it in GitHub Desktop.
const newBars = svg
 .selectAll("rect")
 .data(data)
 .enter()
 .append("rect")
 .attr("height", d => yScale(d))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment