FontAwesome Unicode in Plotly JS Scatterplot

Two small things make this work.

  1. Importing the correct css file (all.min.css rather than fontawesome.min.css)
  2. Use family: "FontAwesome"

It seems many, but not all work. Could be related to #2 above. Would be nice to have access to sharp, duotone, etc. They appear to render bold and maybe lack some clarity. I actually think the regular unicode emoji’s might look the best for the way I’m using them. And doesn’t require importing more code.

At any rate- hope it helps someone, and would be interested to see if anyone gets any of the others working (thin, sharp, duotone) and better luck with clarity.

2 Likes