Toggling nodes through HTML check-boxes

Is there any way to add visibility option to display nodes by using check-boxes in html?Is there any sample that demonstrates this feature to control the visibility?

Sure, just use a change listener function to set visibility of whatever you want. Here’s a sample that toggles visibility of a single node: https://codepen.io/jhardy/pen/JVwPvW?editors=1010