Apache Echarts

I am using streamlit echarts to produce a map of the United States. I have 4 categories for each state. I want a state to be a solid color or the same solid color with stripes to show the difference. So, this would have to execute conditionally. Would css need to be injected? If so, how? Is there another may to create striped colors on a map?