Untitled
This interactive visualization provides a volume rendering of a user-uploaded .vti file, with a transfer function editor for exploring the data. It displays a 3D rendered volume using VTK.js alongside a D3.js-based interface showing a color bar and an adjustable opacity curve. Users can switch among sequential, diverging, and categorical color transfer functions via buttons, and can drag control points on the opacity curve to adjust the mapping. The rendering is updated live with `updateVR` as the transfer functions change.