Skip to content

anvilinsights/data-studio-react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Starter Data Studio Community Visualization

This component is designed to be used as a starting point for building Data Studio visualizations using the React framework. The included React component, <MyTable />, dynamically renders headers and rows from Data Studio column names and values.

Notes

Context API

This example uses the React Context API to make data from Data Studio (field names, values, styling, theme) easily accessible to nested components without prop drilling. While not required, it can add efficiency to a larger project with multiple components requiring access to theme/styling values, etc.

Styling

CSS is built using the Emotion library, which is compatible with multiple formats (template strings, objects, etc.), including styled components.

Deployed version

Manifest path of the deployed version of this visualization:

gs://anvil-data-studio-react-starter

Component ID:

react

Authors

This component was built by Anvil Analytics + Insights

About

Starter Visualization using React for Google Data Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •