Although I tried to create a dataframe, I did not get the heatmap that I was looking for. I tried to demonstrate a positive relationship between computer types, subscriptions, and income
On the x-axis, I want computer types, on the y-axis, I want subscriptions, and the filing is income
data = data.frame(one_or_more_computer = c(1659065, 242325, 2467069, 1031971, 12360505, 2028365, 1274056, 345186, 7383447, 3522345),
no_computer = c(229439, 12848, 176361, 138573, 742609, 109037, 111381, 25767, 547866, 307919),
subscriptions = c(1516816, 223644, 2296123, 904327, 11677634, 1922418, 1213487, 325137, 6794361,3240391),
subscriptions2 = c(371688, 31529, 347307, 266217, 1425480, 214984, 171950, 45816, 1136952, 589873),
high_income = c(646321, 132472, 1077679, 365183, 6818051, 1072011, 728121, 171113, 3032764, 1567356))
library(ggplot2)
f = ggplot(data, aes(y = subscriptions, x = one_or_more_computer, fill = high_income))
f + geom_tile()