{"_id":"@cnrs/hecate-views-charts","_rev":"3-32ad0d3ab0c7f816023746344cd4aeba","name":"@cnrs/hecate-views-charts","dist-tags":{"latest":"0.5.0"},"versions":{"0.2.0":{"name":"@cnrs/hecate-views-charts","version":"0.2.0","keywords":["dataviz","research","database","visualization","scientific","javascript","browser","library"],"license":"AGPL","_id":"@cnrs/hecate-views-charts@0.2.0","maintainers":[{"name":"wiztigers","email":"regis.witz@cnrs.fr"}],"homepage":"https://datasphere.readthedocs.io/projects/hecate/","bugs":{"url":"https://gitlab.huma-num.fr/datasphere/hecate/views/charts/-/issues"},"dist":{"shasum":"e45141423f8c6bad99c1966b4363a555c58978f6","tarball":"https://registry.npmjs.org/@cnrs/hecate-views-charts/-/hecate-views-charts-0.2.0.tgz","fileCount":12,"integrity":"sha512-NnsI3Uc6opGYs17F5rW9iM9VFiqs+/klZq2HDRHGKi27TSNsdvMFWRb6Z/mU0AnjPuvA9Ps/0SPWv6Ij/SLQMg==","signatures":[{"sig":"MEUCIQCxZbfegMaHK8cBmxyv5Ph5e0IPUoZ1Fjc+ogHtEfmhggIgPgGCLVEuR/wIrTiZFSFYUHY3s2EmTORJ7Z42TDoeGk4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71525},"main":"src/index.js","type":"module","module":"src/index.js","exports":{".":"./src/index.js","default":"./src/index.js"},"gitHead":"86e91af9ce0b0e165338df4101bd125f3785e85b","scripts":{"dev":"vite","lint":"eslint \"src/**/*.js\"","test":"vitest run","build":"vite build","doc:html":"./node_modules/jsdoc/jsdoc.js -c .jsdoc.conf.json","test:watch":"vitest --coverage","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"wiztigers","email":"regis.witz@cnrs.fr"},"repository":{"url":"https://gitlab.huma-num.fr/datasphere/hecate/views/charts.git","type":"git"},"_npmVersion":"11.6.2","description":"Views web components available to any web app.","directories":{},"_nodeVersion":"25.0.0","dependencies":{"d3":"latest"},"_hasShrinkwrap":false,"devDependencies":{"vite":"latest","jsdoc":"latest","eslint":"latest","vitest":"latest","happy-dom":"<=12.1.5","@vitest/coverage-v8":"latest"},"@comment scripts":{"dev":["Starts development server in the local folder: this allows us devs to ","rapidly see the impacts of our modifications, with no page refresh.","@requires vite (dev dependency)"],"lint":["Checks code style using ESLint. note: Argument pattern is surrounded with ","double quotes, so its resolution doesn't depend on runtime environment.","@requires eslint (dev dependency)","- ESLint configuration file is `eslint.config.mjs`","- ESLint documentation: https://eslint.org/"],"test":["Runs every unit test once, then exits.","@requires vitest (dev dependency)"],"build":["Bundles project for production in `dist` folder.","@requires vite (dev dependency)"],"doc:html":["Generates developper documentation using JSDoc.","Documentation for each module/class/method is written","in docstring format, directly inside each source file.","@requires jsdoc (dev dependency)","- JSDoc configuration file is `.jsdoc.conf.json`.","- JSDoc config file spec: https://jsdoc.app/about-configuring-jsdoc.html","- JSDoc repo: https://github.com/jsdoc/jsdoc"],"test:watch":["Runs every unit test with coverage %, watching for modifications.","@requires vitest @vitest/coverage-v8 (dev dependencies)"],"test:coverage":["Runs every unit test once, with coverage percentage.","@requires vitest @vitest/coverage-v8 (dev dependencies)"]},"@comment comments":["To track and understand the whys of each part of this package.json, ","in particular dependencies, please explain when you modify this file.","Please include the name of the section you comment after the `@comment`","'annotation' to make sure each key is unique (see the JSON spec).","This is required by JSON validators (like the one built into your IDE).","Plus, running `npm install <whatever> --save` removes duplicate keys.","","package.json documentation: https://docs.npmjs.com/files/package.json"],"_npmOperationalInternal":{"tmp":"tmp/hecate-views-charts_0.2.0_1777289678321_0.3289312807617504","host":"s3://npm-registry-packages-npm-production"},"@comment devDependencies":{"vite":["Bundler for javascript project combines many js source files into a ","single one that is production-ready loadable in the browser.","- ViteJS website: https://vitejs.dev/"],"jsdoc":["Javascript documentation generation tool.","See `gendoc` script in this same file for some usage details.","- JSDoc documentation: https://jsdoc.app/"],"eslint":["To use eslint ECMAScript linter.","- ESLint documentation: https://eslint.org/"],"vitest":["More or less 'all in one' unit testing framework","@requires vite ≥ 3.0.0 (and node ≥ 14.18)","- Vitest website: https://vitest.dev/"],"happy-dom":["By default, tests framework don't have any access to the DOM.","This packages simulates a DOM in the context of tests.","- https://www.npmjs.com/package/happy-dom"],"@vitest/coverage-c8":["Compute percentage of code covered by tests.","- Vitest coverage documentation: https://vitest.dev/guide/coverage.html"]}},"0.4.0":{"name":"@cnrs/hecate-views-charts","version":"0.4.0","keywords":["dataviz","research","database","visualization","scientific","javascript","browser","library"],"author":{"name":"The Hecate contributors"},"license":"AGPL","_id":"@cnrs/hecate-views-charts@0.4.0","maintainers":[{"name":"wiztigers","email":"regis.witz@cnrs.fr"}],"homepage":"https://datasphere.readthedocs.io/projects/hecate/","bugs":{"url":"https://gitlab.huma-num.fr/datasphere/hecate/views/charts/-/issues"},"dist":{"shasum":"f619fd26df51a4a7ca1412a27c03c5468952940b","tarball":"https://registry.npmjs.org/@cnrs/hecate-views-charts/-/hecate-views-charts-0.4.0.tgz","fileCount":15,"integrity":"sha512-3tQW94WwGx8CCwdpslGfSlw5e0olwpQ+ci92h6r7MYjNRVV74P7xejagOSTK6s2I+Yqw9aTsaZnAL1FMH9hSlA==","signatures":[{"sig":"MEYCIQD1LonZ6bnQaXLLKS7bU38HakL35s9Uki54rWxB+5Jw/QIhALZwTesV1yGeSIw13zA/veQLd2Brt4uTjUrgHOwGzQdO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85411},"main":"src/index.js","type":"module","exports":{".":"./src/index.js"},"gitHead":"a2bcf48f757edfcf7235783772bccd90c51b0843","scripts":{"dev":"vite","lint":"exec eslint \"src/**/*.js\"","test":"vitest run","build":"vite build","doc:html":"./node_modules/jsdoc/jsdoc.js -c .jsdoc.conf.json","build:cdn":"vite build --config cdn/vite.cdn.config.mjs","test:watch":"vitest --coverage","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"wiztigers","email":"regis.witz@cnrs.fr"},"repository":{"url":"https://gitlab.huma-num.fr/datasphere/hecate/views/charts.git","type":"git"},"_npmVersion":"11.17.0","description":"Views web components available to any web app.","directories":{},"_nodeVersion":"25.0.0","dependencies":{"d3":"latest","@cnrs/hecate-views":"^0.3.6"},"_hasShrinkwrap":false,"devDependencies":{"vite":"latest","jsdoc":"latest","eslint":"latest","vitest":"latest","globals":"latest","happy-dom":"latest","@eslint/js":"latest","@vitest/coverage-v8":"latest"},"@comment scripts":{"dev":["Starts development server in the local folder: this allows us devs to ","rapidly see the impacts of our modifications, with no page refresh.","@requires vite (dev dependency)"],"lint":["Checks code style using ESLint. note: Argument pattern is surrounded with ","double quotes, so its resolution doesn't depend on runtime environment.","@requires eslint and @eslint/js (dev dependencies)","- ESLint configuration file is `eslint.config.mjs`","- ESLint documentation: https://eslint.org/"],"test":["Runs every unit test once, then exits.","@requires vitest (dev dependency)"],"build":["Bundles project in `dist` folder. Please note that:","- we use vite default settings, so don't need any `vite.config.mjs`.","- the result of this build is of no use, as this `package.json` file","  says the NPM package contents are `src/**/*.js`, not `dist/*.js`.","  We do that because our code is already ESM, Node and modern browsers","  compatible, with no need for transpiling (no TypeScript here).","In other words, this command isn't really useful, though I'll keep it","to differentiate it from `buid:cdn`, which IS used.","@requires vite (dev dependency)"],"doc:html":["Generates developper documentation using JSDoc.","Documentation for each module/class/method is written","in docstring format, directly inside each source file.","@requires jsdoc (dev dependency)","- JSDoc configuration file is `.jsdoc.conf.json`.","- JSDoc config file spec: https://jsdoc.app/about-configuring-jsdoc.html","- JSDoc repo: https://github.com/jsdoc/jsdoc"],"build:cdn":["Bundles project for production CDNs in `cdn/dist` folder.","Delivery to NPM must then be made using `cdn/package.json`.","@requires vite (dev dependency)"],"test:watch":["Runs every unit test with coverage %, watching for modifications.","@requires vitest @vitest/coverage-v8 (dev dependencies)"],"test:coverage":["Runs every unit test once, with coverage percentage.","@requires vitest @vitest/coverage-v8 (dev dependencies)"]},"@comment comments":["To track and understand the whys of each part of this package.json, ","in particular dependencies, please explain when you modify this file.","Please include the name of the section you comment after the `@comment`","'annotation' to make sure each key is unique (see the JSON spec).","This is required by JSON validators (like the one built into your IDE).","Plus, running `npm install <whatever> --save` removes duplicate keys.","","package.json documentation: https://docs.npmjs.com/files/package.json"],"_npmOperationalInternal":{"tmp":"tmp/hecate-views-charts_0.4.0_1785154487235_0.385831432252669","host":"s3://npm-registry-packages-npm-production"},"@comment devDependencies":{"vite":["Bundler for javascript project combines many js source files into a ","single one that is production-ready loadable in the browser.","- ViteJS website: https://vitejs.dev/"],"jsdoc":["Javascript documentation generation tool.","See `gendoc` script in this same file for some usage details.","- JSDoc documentation: https://jsdoc.app/"],"eslint":["A linter for analysing ECMAScript code (among others).","- ESLint documentation: https://eslint.org/"],"vitest":["More or less 'all in one' unit testing framework","@requires vite ≥ 3.0.0 (and node ≥ 14.18)","- Vitest website: https://vitest.dev/"],"globals":["A collection of identifiers used by ESLint.","Referred in the ESLint config file (eslint.config.mjs).","- https://www.npmjs.com/package/globals"],"happy-dom":["By default, tests framework don't have any access to the DOM.","This packages simulates a DOM in the context of tests.","- https://www.npmjs.com/package/happy-dom"],"@eslint/js":["ESLint plugin specialised in the javascript language.","Needed since javascript-specifics have been separated from the core ESLint.","Referred in the ESLint config file (eslint.config.mjs).","- https://www.npmjs.com/package/@eslint/js"],"@vitest/coverage-v8":["Compute percentage of code covered by tests.","- Vitest coverage documentation: https://vitest.dev/guide/coverage.html"]}},"0.5.0":{"name":"@cnrs/hecate-views-charts","description":"Views web components available to any web app.","@comment comments":["To track and understand the whys of each part of this package.json, ","in particular dependencies, please explain when you modify this file.","Please include the name of the section you comment after the `@comment`","'annotation' to make sure each key is unique (see the JSON spec).","This is required by JSON validators (like the one built into your IDE).","Plus, running `npm install <whatever> --save` removes duplicate keys.","","package.json documentation: https://docs.npmjs.com/files/package.json"],"type":"module","main":"src/index.js","exports":{".":"./src/index.js"},"version":"0.5.0","keywords":["dataviz","research","database","visualization","scientific","javascript","browser","library"],"author":{"name":"The Hecate contributors"},"license":"AGPL","homepage":"https://datasphere.readthedocs.io/projects/hecate/","repository":{"type":"git","url":"https://gitlab.huma-num.fr/datasphere/hecate/views/charts.git"},"bugs":{"url":"https://gitlab.huma-num.fr/datasphere/hecate/views/charts/-/issues"},"dependencies":{"@cnrs/hecate-views":"^0.3.6","d3":"latest"},"@comment devDependencies":{"vite":["Bundler for javascript project combines many js source files into a ","single one that is production-ready loadable in the browser.","- ViteJS website: https://vitejs.dev/"],"vitest":["More or less 'all in one' unit testing framework","@requires vite ≥ 3.0.0 (and node ≥ 14.18)","- Vitest website: https://vitest.dev/"],"@vitest/coverage-v8":["Compute percentage of code covered by tests.","- Vitest coverage documentation: https://vitest.dev/guide/coverage.html"],"happy-dom":["By default, tests framework don't have any access to the DOM.","This packages simulates a DOM in the context of tests.","- https://www.npmjs.com/package/happy-dom"],"eslint":["A linter for analysing ECMAScript code (among others).","- ESLint documentation: https://eslint.org/"],"@eslint/js":["ESLint plugin specialised in the javascript language.","Needed since javascript-specifics have been separated from the core ESLint.","Referred in the ESLint config file (eslint.config.mjs).","- https://www.npmjs.com/package/@eslint/js"],"globals":["A collection of identifiers used by ESLint.","Referred in the ESLint config file (eslint.config.mjs).","- https://www.npmjs.com/package/globals"],"jsdoc":["Javascript documentation generation tool.","See `gendoc` script in this same file for some usage details.","- JSDoc documentation: https://jsdoc.app/"]},"devDependencies":{"vite":"latest","vitest":"latest","@vitest/coverage-v8":"latest","happy-dom":"latest","eslint":"latest","@eslint/js":"latest","globals":"latest","jsdoc":"latest"},"@comment scripts":{"dev":["Starts development server in the local folder: this allows us devs to ","rapidly see the impacts of our modifications, with no page refresh.","@requires vite (dev dependency)"],"test":["Runs every unit test once, then exits.","@requires vitest (dev dependency)"],"test:coverage":["Runs every unit test once, with coverage percentage.","@requires vitest @vitest/coverage-v8 (dev dependencies)"],"test:watch":["Runs every unit test with coverage %, watching for modifications.","@requires vitest @vitest/coverage-v8 (dev dependencies)"],"build":["Bundles project in `dist` folder. Please note that:","- we use vite default settings, so don't need any `vite.config.mjs`.","- the result of this build is of no use, as this `package.json` file","  says the NPM package contents are `src/**/*.js`, not `dist/*.js`.","  We do that because our code is already ESM, Node and modern browsers","  compatible, with no need for transpiling (no TypeScript here).","In other words, this command isn't really useful, though I'll keep it","to differentiate it from `buid:cdn`, which IS used.","@requires vite (dev dependency)"],"build:cdn":["Bundles project for production CDNs in `cdn/dist` folder.","Delivery to NPM must then be made using `cdn/package.json`.","@requires vite (dev dependency)"],"lint":["Checks code style using ESLint. note: Argument pattern is surrounded with ","double quotes, so its resolution doesn't depend on runtime environment.","@requires eslint and @eslint/js (dev dependencies)","- ESLint configuration file is `eslint.config.mjs`","- ESLint documentation: https://eslint.org/"],"doc:html":["Generates developper documentation using JSDoc.","Documentation for each module/class/method is written","in docstring format, directly inside each source file.","@requires jsdoc (dev dependency)","- JSDoc configuration file is `.jsdoc.conf.json`.","- JSDoc config file spec: https://jsdoc.app/about-configuring-jsdoc.html","- JSDoc repo: https://github.com/jsdoc/jsdoc"]},"scripts":{"dev":"vite","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest --coverage","build":"vite build","build:cdn":"vite build --config cdn/vite.cdn.config.mjs","lint":"exec eslint \"src/**/*.js\"","doc:html":"./node_modules/jsdoc/jsdoc.js -c .jsdoc.conf.json"},"gitHead":"be046d1c6d6aa2c159acbb56036362923b6278f6","_id":"@cnrs/hecate-views-charts@0.5.0","_nodeVersion":"25.0.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-L41vPe3Fu3Sey2G6hWHsOX9If0Pe6IGsnmqG3w3l583l/1zkThcDwJTxBlzMsP13dCf/42gX5MPj/pGKg5dtmA==","shasum":"e0dd15a5b16d04482fecf3493148c2b9f0227a04","tarball":"https://registry.npmjs.org/@cnrs/hecate-views-charts/-/hecate-views-charts-0.5.0.tgz","fileCount":15,"unpackedSize":79961,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC45nyKzMvp7lGGYYNJ22kko9IkDvhGUumnAA/2r3Gn4wIhAKZQ6qsKXSfh1xH5107/5HRdNypjTVcobrSLiOG2+Ows"}]},"_npmUser":{"name":"wiztigers","email":"regis.witz@cnrs.fr"},"directories":{},"maintainers":[{"name":"wiztigers","email":"regis.witz@cnrs.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hecate-views-charts_0.5.0_1785231011874_0.44273949244571176"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-27T11:34:38.210Z","modified":"2026-07-28T09:30:12.191Z","0.2.0":"2026-04-27T11:34:38.519Z","0.4.0":"2026-07-27T12:14:47.395Z","0.5.0":"2026-07-28T09:30:12.033Z"},"bugs":{"url":"https://gitlab.huma-num.fr/datasphere/hecate/views/charts/-/issues"},"author":{"name":"The Hecate contributors"},"license":"AGPL","homepage":"https://datasphere.readthedocs.io/projects/hecate/","keywords":["dataviz","research","database","visualization","scientific","javascript","browser","library"],"repository":{"type":"git","url":"https://gitlab.huma-num.fr/datasphere/hecate/views/charts.git"},"description":"Views web components available to any web app.","maintainers":[{"name":"wiztigers","email":"regis.witz@cnrs.fr"}],"readme":"# Hecate ”charts” views\n\n<a href='https://datasphere.readthedocs.io/projects/hecate/'><img src='https://gitlab.huma-num.fr/datasphere/doc/assets/-/raw/main/banners/HECATE.png' width='100%'></a>\n\n[![license](https://img.shields.io/badge/license-AGPL3.0-informational?logo=gnu&color=success)](https://www.gnu.org/licenses/agpl-3.0.html)\n[![repostatus](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![pipeline](https://gitlab.huma-num.fr/datasphere/hecate/views/charts/badges/main/pipeline.svg)](https://gitlab.huma-num.fr/datasphere/hecate/views/charts/pipelines/latest)\n[![coverage](https://gitlab.huma-num.fr/datasphere/hecate/views/charts/badges/main/coverage.svg)](https://datasphere.gitpages.huma-num.fr/hecate/views/charts/coverage/)\n[![latest](https://img.shields.io/npm/v/@cnrs/hecate-views-charts.svg)](https://www.npmjs.com/package/@cnrs/hecate-views-charts)\n[![documentation](https://img.shields.io/badge/documentation-jsdoc-blue)](https://datasphere.gitpages.huma-num.fr/hecate/views/charts/doc/)\n\n**Hecate** is a free web application for managing scientific databases.\n\n[**@cnrs/hecate-views-charts**](https://www.npmjs.com/package/@cnrs/hecate-views-charts) is a free Javascript library for visualizing scientific data.\n[Views](https://datasphere.readthedocs.io/projects/hecate/en/latest/design/views.html) are specific glances on subsets of your scientific database : lists, charts, maps, timelines, thumbnails, and so on.\nEach view takes HERA-formatted data ([10.5281/zenodo.12795179](http://doi.org/10.5281/zenodo.12795179)) as its input, and can be easily configured to suit your needs.\n\nThis package provides the following views:\n\n* [BarChart](https://datasphere.gitpages.huma-num.fr/hecate/views/charts/doc/BarChart.html), usable as a `hecate-barchart` HTML element;\n* [Histogram](https://datasphere.gitpages.huma-num.fr/hecate/views/charts/doc/Histogram.html), usable as a `hecate-histogram` HTML element;\n* [LineChart](https://datasphere.gitpages.huma-num.fr/hecate/views/charts/doc/LineChart.html), usable as a `hecate-linechart` HTML element;\n* [ScatterPlot](https://datasphere.gitpages.huma-num.fr/hecate/views/charts/doc/ScatterPlot.html), usable as a `hecate-scatterplot` HTML element;\n* [StackedAreaChart](https://datasphere.gitpages.huma-num.fr/hecate/views/charts/doc/StackedAreaChart.html), usable as a `hecate-stackedareachart` HTML element;\n* [Streamgraph](https://datasphere.gitpages.huma-num.fr/hecate/views/charts/doc/Streamgraph.html), usable as a `hecate-streamgraph` HTML element.\n\n## Resources\n\n* [Documentation](https://datasphere.readthedocs.io/projects/hecate/)\n* [API Documentation](https://datasphere.gitpages.huma-num.fr/hecate/views/charts/doc/)\n* [Releases](https://www.npmjs.com/package/@cnrs/hecate-views-charts?activeTab=versions)\n* [Getting help](https://gitlab.huma-num.fr/datasphere/hecate/views/charts/-/issues/)\n","readmeFilename":"README.md"}