I have a dataframe in R:
Dept 1. Dept 2. Dept 3. Dept 4. Dept 5.
0.5 0.1 -0.3 0.4 -0.1
With each number representing how much the revenue increased or decreased in each department.
I want to graph this data as set of circles such that:
The change for each department is represented by an individual circle.
The size of the circle is proportional to the magnitude of the change in the department's revenue.
The circle is green if the corresponding revenu change is positive.
- The circle is red if the corresponding revenu change is negative.
I'm thinking it might be possible to do this using ggplot in R.
Is it? And how would I go about doing it?