MCPcopy Create free account
hub / github.com/caesarHQ/textSQL / DataPlot

Function DataPlot

client/censusGPT/src/components/dataPlot.js:5–16  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3
4
5const DataPlot = (props) => {
6 let config = getPlotConfig(props.rows, props.cols)
7
8 return (
9 <Plot
10 data={config.data}
11 layout={{ ...config.layout, paper_bgcolor: 'transparent', plot_bgcolor: 'transparent' }}
12 style={{ width: '100%', height: '100%' }}
13 config={{ responsive: true, displayModeBar: false }}
14 />
15 );
16}
17
18export default DataPlot

Callers

nothing calls this directly

Calls 1

getPlotConfigFunction · 0.90

Tested by

no test coverage detected