@danny32797,
You can hide a dataSeries by default using visible property. Please take a look at this Gallery Page for an example which shows dataSeries being hidden by default and show them on clicking legend. Also you can checkout JavaScript Gallery & React Gallery for more examples.
—
Vishwas R
Team CanvasJS