title: How to update CSS via typescript
body: <p>I have a pie chart that I have hidden by default as such:</p>
  
  <pre><code> .sub-chart {
      min-height: 300px;
      width: 100%;
      margin-bottom: 24px;
      visibility: hidden;
   }
  </code></pre>
  
  <p>However, upon a user filtering on a different chart, I want to change the css visibility attribute so that the chart is no longer hidden.</p>
  
  <p>How am I able to update css via the typescript component file?</p>