Skip to content

RomanKrasavtsev/Data-Visualization

Repository files navigation

Data visualization with D3.js

My way to learn D3.js v4.

In the Internet a lot of information related to D3.js v3. You can find out the difference between v3 and v4: https://github.com/d3/d3/blob/master/CHANGES.md

The first task

  • d3
  • select
  • style

The first task

The second task

  • append
  • attr

The second task

The third task

  • selectAll
  • data
  • enter

The third task

The fourth task

  • transition
  • duration
  • delay

The fourth task

The fifth task

  • scaleLinear
  • domain
  • range

The fifth task

The sixth task

  • axisBottom
  • axisLeft
  • scale
  • ticks
  • call
  • SVG Group Element
  • attr("transform", "translate(x,y)")

The sixth task

The seventh task

  • on("click", function(){})

The seventh task

The eighth task

  • rect
  • attr: x, y, height, width, fill
  • classed
  • css: shape-rendering: crispEdges

The eighth task

The ninth task

  • text
  • attr: x, y, dx, dy
  • css: text-anchor: end

The ninth task

The tenth task

Creating an ordinal scale

The tenth task

Coming soon

  • Grid line
  • Bubble chart
  • Bar chart
  • Column chart
  • Stacked columns chart
  • Column chart with rounded corners (we will use path)
  • Line chart
  • Area chart
  • Combo chart
  • Pie chart
  • Donut Chart
  • Timeline

License

© 2016 Roman Krasavtsev

About

My way to learn D3.js v4 📈

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages