<div *ngIf="!isLoading && responseChart">
    <label for="year-select">Choose a Year: </label>
    <select id="year-select" [(ngModel)]="currentYear" (change)="switchYears()" name="classes">
      <option [ngValue]="undefined" selected>Select...</option>
      <option *ngFor="let year of years" [ngValue]="year">{{year}}</option>
    </select>
  <div [chart]="responseChart"></div>
</div>