Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, {Component} from 'react';
- import * as d3 from 'd3';
- class BarChart extends Component {
- componentDidMount () {
- d3.select('.chart');
- }
- render () {
- return <svg className="chart" />;
- }
- }
- export default BarChart;
Add Comment
Please, Sign In to add comment