This course has been updated! We now recommend you take the Introduction to Data Visualization with d3.js v4 course.

Check out a free preview of the full Interactive Data Visualization with D3.js course:
The "Making a Chart Reusable" Lesson is part of the full, Interactive Data Visualization with D3.js course featured in this preview video. Here's what you'd learn in this lesson:

While moving the table to an individual component, Ian discusses the process of making a completely reusable chart. The chart's constructor function returns a reference to it to enable chaining.

Get Unlimited Access Now