Skip to content

Replicate a version of plot_degree.gif in d3 using r2d3 #10

@jhofman

Description

@jhofman

Create a version of the full animation here for small_salary data of 100 points in d3 using r2d3.

This should load the data:

load('src/dmpkg/data/small_salary_100.rda')

For now, let's go for the following key frames:

  1. Ungrouped data, in a grid all grey.
  2. Grouped data, in a grid blue and red.
  3. Scatter plot (x = degree, y = salary, color = degree), as you have from Get a basic d3.js example working with r2d3 #5.
  4. Collapsed points for averages (x = degree, y = average_salary, color = degree), also from Get a basic d3.js example working with r2d3 #5.

There will be issues with scales zooming in and with showing error bars, etc., that we can address in a future iteration.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions