Guest User

Untitled

a guest
May 20th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import React, {Component} from 'react';
  2. import * as d3 from 'd3';
  3.  
  4. class BarChart extends Component {
  5. componentDidMount () {
  6. d3.select('.chart');
  7. }
  8.  
  9. render () {
  10. return <svg className="chart" />;
  11. }
  12. }
  13.  
  14. export default BarChart;
Add Comment
Please, Sign In to add comment