SpecdrawJS: Full client-side mode - SampleSet spectra
✓ Published0🌍 Public
Aahmohamed
Last edited Oct 16, 2015
Created on Oct 11, 2015
This example shows a one-dimensional nuclear magnetic resonance (NMR) spectrum displayed as a line chart, using the SpecdrawJS library in full client-side mode. The application fetches sample set data from a remote NMRPro server URL and renders it inside a fixed-size container. The code loads d3.v3 and SpecdrawJS from a CDN, then creates a `specdraw.App` instance, passes the data URL via its `.data()` method, and binds the app to the DOM element using `d3.select(...).call(...)`. The visualization is styled with a custom CSS rule for the container.
AI-generated descriptionThis example demonstrate using SpecdrawJS in full client-side mode. For details about SpecdrawJS. For more examples see NMRPro