Skip to content

Instantly share code, notes, and snippets.

@efinal
Forked from mbostock/.block
Last active December 22, 2015 10:28
Show Gist options
  • Save efinal/6458708 to your computer and use it in GitHub Desktop.
Save efinal/6458708 to your computer and use it in GitHub Desktop.
KP Analysis

知识点分析

We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 3 columns, instead of 5. in line 1.
KPName KPWeight KPTestItems KPRate
时间的估测 9 455 21
时间的测量 1 83 86
长度的估测 8 196 10
长度的测量 7 237 39
刻度尺的使用 8 131 36
机械运动 4 547 66
参照物及其选择 5 346 13
运动和静止的相对性 7 471 2
速度与物体运动 10 440 35
速度公式及其应用 2 37 47
速度的计算 1 733 59
运动快慢的比较 2 55 93
匀速直线运动 5 98 55
声音的产生 6 225 14
声音的传播条件 1 95 70
声速 5 123 27
声音在不同介质中的传播速度 9 261 27
声速的大小跟介质温度的关系 6 199 18
人耳的构成 5 362 75
人耳感知声音的过程及听到声音的条件 4 475 72
骨传声及骨传导的原理 7 72 29
双耳效应 4 118 69
音调 10 165 14
频率及音调的关系 4 578 7
超声波与次声波 10 356 18
响度 3 24 44
响度与振幅的关系 4 696 44
音色 9 307 31
音调、响度与音色的区分 2 233 22
回声 3 763 87
回声测距离的应用 7 307 38
声与信息 10 398 18
声与能量 4 453 57
声音的综合利用 2 542 23
声音的等级和噪声的危害 5 667 56
防治噪声的途径 7 347 38
温度 10 425 30
摄氏温度及其计算 5 932 64
液体温度计的构造与工作原理 3 178 54
温度计的使用及其读数 8 4 28
温度计与体温计的异同 10 471 22
体温计的使用及其读数 5 480 50
熔化与熔化吸热特点 2 342 94
凝固与凝固放热特点 9 67 28
汽化及汽化吸热的特点 5 361 1
沸腾及沸腾条件 7 311 7
沸点及沸点与气压的关系 8 121 28
蒸发及其现象 10 260 19
影响蒸发快慢的因素 4 175 14
液化及液化现象 2 652 96
液化方法及其应用 10 171 9
探究水的沸腾实验 3 412 61
升华和凝华的定义和特点 6 17 20
生活中的升华现象 8 246 18
生活中的凝华现象 5 177 58
水的三态变化 2 465 92
光源 5 187 9
光在均匀介质中直线传播 2 909 28
光直线传播的应用 7 450 15
光的传播速度与光年 10 327 7
光的反射 8 425 39
光的反射定律 9 202 26
作光的反射光路图 5 633 4
镜面反射 6 111 5
漫反射 8 297 37
镜面反射和漫反射的异同点 1 859 98
平面镜对光的作用 2 375 18
平面镜成像的特点、原理、现象及其实验方案 9 402 22
平面镜成虚像的原因 9 40 8
实像与虚像的区别 9 288 21
平面镜成像的相关作图 3 810 96
平面镜的应用 9 424 13
凸面镜和凹面镜 6 300 11
光的折射规律 7 432 4
光折射的可逆性 2 59 63
光的折射现象及其应用 4 304 20
作光的折射光路图 4 898 34
光的色散 1 309 6
色光的三原色和颜料的三原色 6 118 12
物体的颜色 2 986 25
透镜及其分类 6 307 2
辨别凸透镜和凹透镜的方法 7 412 27
主光轴、光心、焦点和焦距 9 90 36
凸透镜的会聚作用 1 476 65
凹透镜的发散作用 9 165 7
透镜的光路图 1 59 66
生活中的透镜 6 130 28
凸透镜成像规律及其探究实验 7 223 18
凸透镜成像的应用 4 382 24
眼睛及其视物原理 1 323 84
近视眼的成因与矫正办法 8 358 7
远视眼的成因与矫正办法 10 28 3
显微镜 1 904 25
望远镜 10 353 31
质量及其特性 9 87 19
质量的估测 9 330 10
质量的单位换算 2 456 42
质量的测量与天平 5 403 50
天平的使用 8 196 15
累积法测量微小质量 6 500 9
密度的计算 4 438 56
密度公式的应用 7 423 20
与密度有关的物理现象 1 239 70
密度及其特性 1 174 94
密度的大小比较 4 898 100
量筒的使用 5 437 57
固体密度的测量 2 454 85
液体密度的测量 4 963 25
设计实验测密度 5 657 39
液体的密度测量实验 7 418 32
固体的密度测量实验 8 137 16
密度与温度 7 101 5
密度的应用与物质鉴别 1 11 46
空心、混合物质的密度计算 3 81 5
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.dot {
stroke: #000;
}
</style>
<body>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script>
var margin = {top: 20, right: 20, bottom: 30, left: 40},
width = 960 - margin.left - margin.right,
height = 500 - margin.top - margin.bottom;
var x = d3.scale.linear()
.range([0, width]);
var y = d3.scale.linear()
.range([height, 0]);
var radius = d3.scale.linear()
.range([5, 20]);
var color = d3.scale.category10();
var xAxis = d3.svg.axis()
.scale(x)
.orient("bottom");
var yAxis = d3.svg.axis()
.scale(y)
.orient("left");
var svg = d3.select("body").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
d3.tsv("data.tsv", function(error, data) {
data.forEach(function(d) {
d.KPWeight = +d.KPWeight;
d.KPTestItems = +d.KPTestItems;
d.KPRate = +d.KPRate;
});
x.domain([0,11]);
y.domain([-10,110]);
radius.domain(d3.extent(data, function(d) { return d.KPTestItems; }));
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(xAxis)
.append("text")
.attr("class", "label")
.attr("x", width)
.attr("y", -6)
.style("text-anchor", "end")
.text("Sepal Width (cm)");
svg.append("g")
.attr("class", "y axis")
.call(yAxis)
.append("text")
.attr("class", "label")
.attr("transform", "rotate(-90)")
.attr("y", 6)
.attr("dy", ".71em")
.style("text-anchor", "end")
.text("Sepal Length (cm)")
svg.selectAll(".dot")
.data(data)
.enter().append("circle")
.attr("class", "dot")
.attr("r", function(d) { return radius(d.KPTestItems); })
.attr("cx", function(d) { return x(d.KPWeight); })
.attr("cy", function(d) { return y(d.KPRate); })
.style("fill", function(d) { return color(d.species); });
var legend = svg.selectAll(".legend")
.data(color.domain())
.enter().append("g")
.attr("class", "legend")
.attr("transform", function(d, i) { return "translate(0," + i * 20 + ")"; });
legend.append("rect")
.attr("x", width - 18)
.attr("width", 18)
.attr("height", 18)
.style("fill", color);
legend.append("text")
.attr("x", width - 24)
.attr("y", 9)
.attr("dy", ".35em")
.style("text-anchor", "end")
.text(function(d) { return d; });
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment