Skip to content

Commit f277abd

Browse files
committed
Update
1 parent 821a8e2 commit f277abd

108 files changed

Lines changed: 148570 additions & 557 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.DS_Store

12 KB
Binary file not shown.

Description

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Các đặc điểm của WordstreamSep23:
2+
1. Đặt chữ: Đặt theo spiral với điểm xuất phát ngẫu nhiên trong box
3+
4+
2. Hiển thị: Nếu số lượng timestep nhỏ (~ 18 timestep), chiều rộng sẽ mặc định là full màn hình.
5+
Nếu sl timestep lớn, kích thước mỗi timestep là 100.
6+
7+
3. Đã hiển thị từ theo flow của layer
8+
9+
- Hiển thị displayrate: Cách đặt vào trong svg đã full items: thêm 1 đại lượng bias (offset) vào height của svg để kéo dài svg ramà bias không contribute vào những items đã có trên svg.
10+
11+
========================================================================
12+
Functions:
13+
14+
- buildFontScale(data): Chạy vòng lặp trên các bản ghi để ìm freq cao nhất và thấp nhất trong số tất cả các bản ghi, sau đó:
15+
fontScale.domain([minFrequency, maxFrequency]).range([minFontSize, maxFontSize]);
16+
-> xếp font theo độ lớn của freq
17+
18+
- calculateTotalFrequenciesABox(): return totalFrequenciesABox: array of data for many timestep
19+
20+
totalFrequenciesABox
21+
(6) [{…}, {…}, {…}, {…}, {…}, {…}]
22+
0: {person: 168, location: 127, organization: 170, miscellaneous: 102}
23+
1: {person: 181, location: 139, organization: 197, miscellaneous: 104}
24+
2: {person: 116, location: 126, organization: 135, miscellaneous: 89}
25+
3: {person: 115, location: 127, organization: 122, miscellaneous: 93}
26+
4: {person: 167, location: 186, organization: 201, miscellaneous: 127}
27+
5: {person: 119, location: 89, organization: 180, miscellaneous: 83}
28+
29+
- buildFrequencyScale(data): Tính tổng tất cả các freq có trong data, gán cho biến max
30+
frequencyScale = d3.scale.linear()
31+
.domain([0, max])
32+
.range([0, size[1]]); // size[1] là kích thước đã set ban đầu
33+
-> Scale theo freq
34+
35+
- let boxes = buildBoxes(data)
36+
37+
- buildBoxes(data):
38+
numberOfBoxes = data.length;
39+

README.md

100644100755
Lines changed: 3 additions & 1 deletion

ResultData.xlsx

25.7 KB
Binary file not shown.

ResultDataNew.xlsx

36.5 KB
Binary file not shown.

Test.xlsx

22.9 KB
Binary file not shown.

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
theme: jekyll-theme-cayman

data/CS_TTU.tsv

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

data/Cards_Fries.tsv

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

data/Cards_PC.tsv

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)