<commit_before><!DOCTYPE html>
<meta charset="utf-8">
<html>
    <head>
        <script src="https://d3js.org/d3.v4.min.js"></script>
        <script src="d3-geomap/vendor/d3.geomap.dependencies.min.js"></script>
    </head>
    <body>
        <h1>
            <center> PHA Map Vis </center>
        </h1>
        <script>
            d3.json("data/world_countries.json", draw);
            function draw(error, data) {
                if (error) return console.error(error);
                feat = data.features;
                var width = 1350,
                    height = 700;
                var svg = d3.select("body")
                    .append("center")
                    .append("svg")
                    .attr("width", width)
                    .attr("height", height);

                var g = svg.append("g");

                var robinsonProjection = d3.geo.robinson() 
                    .scale(220)
                    .translate([width/2, height/2]);

                var path = d3.geo.path()
                    .projection(robinsonProjection);
                
                var p = g.selectAll('path')
                    .data(feat)
                    .enter()
                    .append('path')
                    .attr("fill", "#ccc")
                    .attr("d", path);
            }

        </script>
    </body>
</html><commit_msg>added key points feature<commit_after><!DOCTYPE html>
<meta charset="utf-8">
<html>
    <head>
        <script src="https://d3js.org/d3.v4.min.js"></script>
        <script src="d3-geomap/vendor/d3.geomap.dependencies.min.js"></script>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    </head>
    <body>
        <h1>
            <center> PHA Map Vis </center>
        </h1>
        <script>
            d3.json("data/world_countries.json", draw);
            aa = [-122.490402, 37.786453];
            bb = [-122.389809, 37.72728];
            function draw(error, data) {
                if (error) return console.error(error);
                feat = data.features;
                var width = 1350,
                    height = 700;
                var svg = d3.select("body")
                    .append("center")
                    .append("svg")
                    .attr("width", width)
                    .attr("height", height);

                var g = svg.append("g");

                var robinsonProjection = d3.geo.robinson() 
                    .scale(220)
                    .translate([width/2, height/2]);

                var path = d3.geo.path()
                    .projection(robinsonProjection);
                
                var p = g.selectAll('path')
                    .data(feat)
                    .enter()
                    .append('path')
                    .attr("fill", "#ccc")
                    .attr("d", path);


                svg.selectAll("circle")
                    .data([aa,bb]).enter()
                    .append("svg:image")
                    .attr("x", function (d) {return robinsonProjection(d)[0] - 20 })
                    .attr("y", function (d) {return robinsonProjection(d)[1] - 40 })
                    .attr("xlink:href", "http://www.clker.com/cliparts/g/R/z/I/u/o/map-pin-hi.png")
                    .attr("width", 40)
                    .attr("height", 40)
                    .on("click", function() {
                        svg.selectAll("circle").attr("fill", "blue");
                    });

            }
        </script>
    </body>
</html>
{'fraction_non_alphanumeric': 0.1520698394818361, 'fraction_numerical': 0.026753027316248942, 'mean_word_length': 1.1527272727272728, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, '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': '3766733', 'n_tokens_mistral': 1111, 'n_tokens_neox': 982, 'n_words': 177}