<commit_before><commit_msg>(feat) Create Path component for histogram<commit_after>import React from 'react';
import * as d3 from "d3";

class Path extends React.Component {
  render() {
    let [start, end] = this.props.scale.range();
    let d = `M0${start},6V0H${end}V6`;

    return (
      <path className="react-d3-histogram__domain" d={d} />
    );
  }
}

Path.propTypes = {
  scale: React.PropTypes.func.isRequired
};

export default Path;
{'fraction_non_alphanumeric': 0.14988814317673377, 'fraction_numerical': 0.015659955257270694, 'mean_word_length': 3.869565217391304, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1777439', 'n_tokens_mistral': 156, 'n_tokens_neox': 153, 'n_words': 36}