SpecdrawJS: Full client-side mode - SampleSet spectra
✓ Published0🌍 Public
Aahmohamed
Last edited Oct 16, 2015
Created on Oct 13, 2015
This example demonstrates a static, full client-side rendering of an NMR spectrum using SpecdrawJS, showing a SampleSet of spectral data without user interactivity. The visualization is created by initializing a SpecdrawJS app with a single configuration, loading data from a remote JCAMP-DX file (indometacin/1h.dx) via the `.data()` method, and then rendering it into a container div using `d3.select().call()`. The code relies on D3 v3 and the SpecdrawJS library, which handles the spectral plotting entirely in the browser.
AI-generated descriptionThis example demonstrate using SpecdrawJS in static mode. This mode displays the spectrum but doesn't offer the user any interactivity with the data.
For details about SpecdrawJS.
For more examples see NMRPro.