Wer noch ein JavaScript CO2-Dashboard für seine CO2 Ampel mit PatternFly und React braucht, kann gerne diesen Code verwenden: 
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29  | 
						import './App.css'; import "@patternfly/react-core/dist/styles/base.css"; import { ChartDonut, ChartThemeColor } from '@patternfly/react-charts'; import { Label, Text, TextVariants} from '@patternfly/react-core'; function App() {   return (     <div className="App">       <Text component={TextVariants.h1}>Dashboard</Text>       <Label color="green" href="http://www.wenzlaff.info">CO 2</Label>       <ChartDonut         ariaDesc="CO2 Daten"         ariaTitle="CO2-Ampel"         constrainToVisibleArea={true}         data={[{ x: 'CO 2', y: 405} , { x: 'Rest', y: 1595 }]}         labels={({ datum }) => `${datum.x}: ${datum.y}%`}         subTitle="ppm CO2"         title="405"         themeColor={ChartThemeColor.green}       />     </div>   ); } export default App;  | 
					
Wenn npm und node installiert ist kann leicht einen neue Single-Page-Applikation mit React erstellt werden:
| 
					 1 2 3 4 5 6 7  | 
						// kein Druckfehler npx npx create-react-app co2-app cd co2-app // Code oben in die src/App.js einfügen npm start // Aufruf im Browser http://localhost:3000  | 
					
