### Installing Dependencies - npm - bash
Source: https://github.com/plotly/react-plotly.js/blob/master/README.md
Basic command to install all project dependencies listed in the `package.json` file. This is the standard first step for setting up the development environment. Requires Node.js and npm installed.
```bash
$ npm install
```
--------------------------------
### Installing React Plotly.js Packages (bash)
Source: https://github.com/plotly/react-plotly.js/blob/master/README.md
Installs the required npm packages for using react-plotly.js in a project. This includes the react-plotly.js component itself and the core plotly.js library.
```bash
$ npm install react-plotly.js plotly.js
```
--------------------------------
### Running Prepublish Script - npm - bash
Source: https://github.com/plotly/react-plotly.js/blob/master/README.md
Executes the `prepublishOnly` script defined in `package.json`, typically used to transpile source code before publishing the package. This prepares the library for distribution. Requires project dependencies to be installed.
```bash
$ npm run prepublishOnly
```
--------------------------------
### Importing Plot Component - React-Plotly.js - Javascript
Source: https://github.com/plotly/react-plotly.js/blob/master/README.md
Shows the two primary ways to import the Plot component: the default import for the standard bundle and using `createPlotlyComponent` for custom bundles or CDN-loaded Plotly.js. Requires `react-plotly.js` and potentially `plotly.js` (depending on method) installed.
```javascript
// simplest method: uses precompiled complete bundle from `plotly.js`
import Plot from 'react-plotly.js';
// customizable method: use your own `Plotly` object
import createPlotlyComponent from 'react-plotly.js/factory';
const Plot = createPlotlyComponent(Plotly);
```
--------------------------------
### Loading Plotly and React-Plotly Factory - CDN - HTML
Source: https://github.com/plotly/react-plotly.js/blob/master/README.md
Provides HTML `
```
--------------------------------
### Running Tests - npm - bash
Source: https://github.com/plotly/react-plotly.js/blob/master/README.md
Executes the test suite defined by the `test` script in `package.json`. This command is used to verify the correctness and functionality of the library code. Requires project dependencies and test runners to be configured.
```bash
$ npm run test
```
--------------------------------
### Rendering Plot Component - ReactDOM - Javascript
Source: https://github.com/plotly/react-plotly.js/blob/master/README.md
Demonstrates how to instantiate and render a Plot component loaded via a `