Fork me on GitHub

Assignment: Brushing & Linking in D3

In this assignment you will learn about how to implement brushing and linking.

Murder, Poverty, and Unemployment in Texas

The line chart and scatterplot below show murder, poverty, and unemployment rates from 1996 to 2017 in Texas, USA. They are interactively connected via brushing and linking.

If you drag a brush across the marks in one view the marks are selected and highlighted. This is an example of brushing. In general, brushing means selecting as subset of the data marks with an input device which is usually paired with adding a pop-out channel to the marks to highlight them.

You will notice that brushing in one visualization causes marks in the other view to be highlighed too. This is an example of brushing and linking working together. In linking, the same brush effect (pop-out, highlighting) is applied to marks in other visualizations that correspond to the same datums.

What interesting patterns can you see in the data using brushing and linking? How is year related to unemployment rate?

Acknowledgments

List here where any code, packages/libraries, text, images, designs, etc. that you leverage come from.