I am trying to build a map in R using plotly. I will share the code required to build the dataframe in a reply to this post. Here is the code I am using to plot the chart:>
Without modifying anything in Plotly, I found that you can add
alpha = 1
to add_trace/add_polygons to change it to completely opaque. So where you have your fillcolor comment, you can drop in
alpha =
then 0-1, completely transparent to completely opaque.