npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@michelin/plotly

v10.2.1

Published

[BETA] The package contains Michelin Plotly tools. This is a beta release and may contain breaking changes in future versions.

Downloads

301

Readme

Angular Michelin plotly

⚠️ BETA VERSION - This package is currently in beta. APIs may change in future releases.

The package is a library to build interactive Plotly charts in Angular applications.

Usage

Internal with Artifactory : @michelin/plotly External with NPM : @michelin/plotly

1. Install Michelin Theme

Make sure Michelin theme is correctly installed.

2. Install Michelin Plotly

Install the required dependencies:

npm install plotly.js-dist-min @types/plotly.js-dist-min @michelin/plotly

Required versions:

  • plotly.js-dist-min: >= 3.1.1
  • @types/plotly.js-dist-min: >= 2.3.0
  • Angular: >= 21.0.4

Note: The @types/plotly.js-dist-min package is required for TypeScript support and must be installed alongside the runtime library.

3. Include Michelin Plotly modules

Michelin modules can be imported in the shared module.

For example :

import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';

import { PlotlyModule } from '@michelin/plotly';

@NgModule({
  imports: [CommonModule, PlotlyModule],
  providers: [],
  declarations: []
})
export class SharedModule {}

4. Create charts

Use mic-plotly-chart with Plotly data, layout and config to build line charts, bar charts, scatter charts and dashboards.

Troubleshooting

Common Installation Issues

Missing Type Definitions

Error: Cannot find module 'plotly.js' or its corresponding type declarations

Solution: Make sure you have installed @types/plotly.js-dist-min:

npm install @types/plotly.js-dist-min

Peer Dependency Conflicts

Error: ERESOLVE unable to resolve dependency tree or peer dependency warnings

Solution: Ensure your Angular version is >= 21.0.4. If using an older version, you may need to use --legacy-peer-deps:

npm install --legacy-peer-deps

Module Resolution Issues

Error: Cannot find module 'plotly.js-dist-min'

Solution:

  1. Clear your node_modules and package-lock.json:
    rm -rf node_modules package-lock.json
    npm cache clean --force
  2. Reinstall dependencies:
    npm install

TypeScript Compilation Errors

Error: Type errors related to Plotly types

Solution: Verify all peer dependencies are installed correctly:

npm ls @michelin/plotly @michelin/theme plotly.js-dist-min @types/plotly.js-dist-min