{"id":23900493,"url":"https://github.com/awefeng/heatmap-d3","last_synced_at":"2026-05-16T09:34:58.803Z","repository":{"id":121725342,"uuid":"189544852","full_name":"awefeng/heatmap-d3","owner":"awefeng","description":"通过d3.js实现的heatmap，展示年-月-温度","archived":false,"fork":false,"pushed_at":"2019-05-31T07:33:01.000Z","size":328,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-14T09:03:15.191Z","etag":null,"topics":["d3js","json","python3"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awefeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-05-31T07:03:06.000Z","updated_at":"2023-02-08T06:37:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"85feebf3-c00d-4fea-aaa8-7312fee5ad04","html_url":"https://github.com/awefeng/heatmap-d3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awefeng/heatmap-d3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awefeng%2Fheatmap-d3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awefeng%2Fheatmap-d3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awefeng%2Fheatmap-d3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awefeng%2Fheatmap-d3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awefeng","download_url":"https://codeload.github.com/awefeng/heatmap-d3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awefeng%2Fheatmap-d3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33096991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["d3js","json","python3"],"created_at":"2025-01-04T19:18:51.721Z","updated_at":"2026-05-16T09:34:58.791Z","avatar_url":"https://github.com/awefeng.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# heatmap-d3\n通过d3.js实现的heatmap，展示年-月-温度\n\n#### 概览\n\n```\nproject\n|\treadme.md\n|----d3\t// 引用的d3库\n|\t|----d3.min.js\n|\tindex.css\n|\tchallenge1.html\t// 第一个demo\n|\tchallenge2.html\t// 第二个demo\n|\ttemperature.json\t// json数据文件\n|\ttemperature.xlsx\t// 未转换成json之前的数据文件\n|\txlsxToJson.py\t// 转换数据的python脚本\n|----img\n\t|----challenge1.png\t// 第一个demo图片\n\t|----challenge2.png\t// 第二个demo图片\n```\n\n#### Tip\n\n1. 用python脚本对数据的处理，没有使用d3自带的d3.json、d3.csv等；建议可以试一下。\n2. 由于浏览器存在跨域问题，读取本地json采用了上传文件的方式，打开网页以后选择json数据文件。\n3. 格子颜色代表当月每天最高温度或者最低温度的平均数，即json中的average，title里的平均温度。\n\n#### Challenge1\n\n![image](https://github.com/awefeng/heatmap-d3/blob/master/img/challenge1.png)\n\n#### Challenge2\n\n![image](https://github.com/awefeng/heatmap-d3/blob/master/img/challenge2.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawefeng%2Fheatmap-d3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawefeng%2Fheatmap-d3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawefeng%2Fheatmap-d3/lists"}